

Public Member Functions | |
| virtual void | RegisterMethods (lua_State *L) |
| called by Register(), registers object-methods (see cLuaBind constructor for examples) | |
| virtual void | RegisterMembers () |
| called by Register(), registers object-member-vars (see cLuaBind::RegisterMembers() for examples) | |
| virtual const char * | GetLuaTypeName () |
Static Public Member Functions | |
| static int | CreateObjectController (lua_State *L) |
| for lua : cObjectController* CreateObjectController (); | |
| static int | Destroy (lua_State *L) |
| static int | SetApproachObject (lua_State *L) |
| for lua : void SetApproachObject (obj) | |
| static int | SetApproachPosition (lua_State *L) |
| for lua : void o:SetApproachPosition (x,y,z) | |
| static int | DistanceToTarget (lua_State *L) |
| for lua : number DistanceToTarget () | |
| static int | IsTargetAlive (lua_State *L) |
| for lua : bool IsTargetAlive () | |
Definition at line 36 of file objectcontroller_L.cpp.
| virtual void cObjectController_L::RegisterMethods | ( | lua_State * | L | ) | [inline, virtual] |
called by Register(), registers object-methods (see cLuaBind constructor for examples)
Reimplemented from Lugre::cLuaBind< cObjectController >.
Definition at line 38 of file objectcontroller_L.cpp.
References CreateObjectController(), Destroy(), DistanceToTarget(), IsTargetAlive(), PROFILE, REGISTER_METHOD, SetApproachObject(), and SetApproachPosition().
| virtual void cObjectController_L::RegisterMembers | ( | ) | [inline, virtual] |
called by Register(), registers object-member-vars (see cLuaBind::RegisterMembers() for examples)
Reimplemented from Lugre::cLuaBind< cObjectController >.
Definition at line 50 of file objectcontroller_L.cpp.
References cMemberVar_REGISTER, Lugre::cLuaBind< cObjectController >::kVarType_bool, Lugre::cLuaBind< cObjectController >::kVarType_Float, and PROFILE.
| static int cObjectController_L::CreateObjectController | ( | lua_State * | L | ) | [inline, static] |
for lua : cObjectController* CreateObjectController ();
Definition at line 65 of file objectcontroller_L.cpp.
References Lugre::cLuaBind< cObjectController >::CreateUData(), and PROFILE.
Referenced by RegisterMethods().
| static int cObjectController_L::Destroy | ( | lua_State * | L | ) | [inline, static] |
Definition at line 71 of file objectcontroller_L.cpp.
References Lugre::cLuaBind< cObjectController >::checkudata_alive(), and PROFILE.
Referenced by RegisterMethods().
| static int cObjectController_L::SetApproachObject | ( | lua_State * | L | ) | [inline, static] |
for lua : void SetApproachObject (obj)
Definition at line 77 of file objectcontroller_L.cpp.
References Lugre::cLuaBind< cObjectController >::checkudata_alive(), PROFILE, and cObjectController::SetTarget().
Referenced by RegisterMethods().
| static int cObjectController_L::SetApproachPosition | ( | lua_State * | L | ) | [inline, static] |
for lua : void o:SetApproachPosition (x,y,z)
Definition at line 84 of file objectcontroller_L.cpp.
References Lugre::cLuaBind< cObjectController >::checkudata_alive(), PROFILE, and cObjectController::SetTarget().
Referenced by RegisterMethods().
| static int cObjectController_L::DistanceToTarget | ( | lua_State * | L | ) | [inline, static] |
for lua : number DistanceToTarget ()
Definition at line 97 of file objectcontroller_L.cpp.
References Lugre::cLuaBind< cObjectController >::checkudata_alive(), and PROFILE.
Referenced by RegisterMethods().
| static int cObjectController_L::IsTargetAlive | ( | lua_State * | L | ) | [inline, static] |
for lua : bool IsTargetAlive ()
Definition at line 112 of file objectcontroller_L.cpp.
References Lugre::cLuaBind< cObjectController >::checkudata_alive(), and PROFILE.
Referenced by RegisterMethods().
| virtual const char* cObjectController_L::GetLuaTypeName | ( | ) | [inline, virtual] |
Implements Lugre::cLuaBind< cObjectController >.
Definition at line 122 of file objectcontroller_L.cpp.
1.5.6