source: trunk/src/worldentity.h @ 664

Last change on this file since 664 was 664, checked in by sam, 9 years ago

Get rid of float3, float4, int3 etc. in favour of GLSL types.

  • Property svn:keywords set to Id
File size: 910 bytes
Line 
1//
2// Lol Engine
3//
4// Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
5//   This program is free software; you can redistribute it and/or
6//   modify it under the terms of the Do What The Fuck You Want To
7//   Public License, Version 2, as published by Sam Hocevar. See
8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
9//
10
11//
12// The GraphicEntity class
13// -----------------------
14//
15
16#if !defined __DH_WORLDENTITY_H__
17#define __DH_WORLDENTITY_H__
18
19#include "entity.h"
20
21class WorldEntity : public Entity
22{
23public:
24    vec3 position;
25    vec3 rotation;
26    vec3 velocity;
27    vec3 bbox[2];
28
29    vec2i mousepos;
30    vec3i mousebuttons;
31    vec3i pressed, clicked, released;
32
33protected:
34    WorldEntity();
35    virtual ~WorldEntity();
36
37    virtual char const *GetName();
38
39    virtual void TickGame(float deltams);
40    virtual void TickDraw(float deltams);
41};
42
43#endif // __DH_WORLDENTITY_H__
44
Note: See TracBrowser for help on using the repository browser.