source: trunk/src/worldentity.h @ 866

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

core: more vec?i -> ?veci renames.

  • Property svn:keywords set to Id
File size: 953 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 __LOL_WORLDENTITY_H__
17#define __LOL_WORLDENTITY_H__
18
19#include "entity.h"
20
21namespace lol
22{
23
24class WorldEntity : public Entity
25{
26public:
27    vec3 position;
28    vec3 rotation;
29    vec3 velocity;
30    vec3 bbox[2];
31
32    ivec2 mousepos;
33    ivec3 mousebuttons;
34    ivec3 pressed, clicked, released;
35
36protected:
37    WorldEntity();
38    virtual ~WorldEntity();
39
40    virtual char const *GetName();
41
42    virtual void TickGame(float deltams);
43    virtual void TickDraw(float deltams);
44};
45
46} /* namespace lol */
47
48#endif // __LOL_WORLDENTITY_H__
49
Note: See TracBrowser for help on using the repository browser.