7 #ifndef CAFU_GAMESYS_COMPONENT_TARGET_HPP_INCLUDED
8 #define CAFU_GAMESYS_COMPONENT_TARGET_HPP_INCLUDED
10 #include "CompBase.hpp"
38 const char*
GetName()
const {
return "Target"; }
52 static int toString(lua_State* LuaState);
55 static const char* DocClass;
BoundingBox3fT GetEditorBB() const
Returns a bounding-box that the Map Editor can use to render the representation of this component's e...
Definition: CompTarget.hpp:40
unsigned int GetEditorColor() const
Returns a color that the Map Editor can use to render the representation of this component's entity...
Definition: CompTarget.hpp:39
ComponentTargetT()
The constructor.
Definition: CompTarget.cpp:40
This component connects its entity to another.
Definition: CompTarget.hpp:21
ComponentTargetT * Clone() const
The virtual copy constructor.
Definition: CompTarget.cpp:56
static const luaL_Reg MethodsList[]
The list of Lua methods for this class.
Definition: CompTarget.hpp:54
const char * GetName() const
Returns the name of this component.
Definition: CompTarget.hpp:38
Definition: TypeSys.hpp:52
Definition: TypeSys.hpp:57
This class keeps type information (about an entity class that occurs in the game).
Definition: TypeSys.hpp:79
Definition: TypeSys.hpp:68
This is the base class for the components that an entity is composed/aggregated of.
Definition: CompBase.hpp:54