YAGE  v0.1.4.0
Yet Another Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
entity.h
Go to the documentation of this file.
1 
9 #ifndef YAGE_ENGINE_ENTITY_H
10 #define YAGE_ENGINE_ENTITY_H
11 
12 #include <vector>
13 
14 namespace yage
15 {
16 
17 class Space;
18 
27 class Entity
28 {
29 public:
35  Entity(unsigned handle);
36 
42  unsigned getHandle() const;
43 
44 private:
48  unsigned handle_;
49 };
50 
51 } // namespace yage
52 
53 #endif
Entity convenience class.
Definition: entity.h:27
Entity(unsigned handle)
Creates an instance of an Entity with a handle that is associated to it.
Definition: entity.cpp:16
unsigned getHandle() const
Handle getter, as the user will only interact with the id itself.
Definition: entity.cpp:18