Changeset 9757 in orxonox.OLD for branches/new_class_id/src/world_entities/space_ships
- Timestamp:
- Sep 18, 2006, 10:06:19 PM (18 years ago)
- Location:
- branches/new_class_id/src/world_entities/space_ships
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/world_entities/space_ships/helicopter.cc
r9746 r9757 38 38 CREATE_FACTORY(Helicopter); 39 39 #include "script_class.h" 40 CREATE_SCRIPTABLE_CLASS(Helicopter, Helicopter::classID(),40 CREATE_SCRIPTABLE_CLASS(Helicopter, 41 41 addMethod("moveUp", Executor1<Helicopter, lua_State*,bool>(&Helicopter::moveUp)) 42 42 ->addMethod("moveDown", Executor1<Helicopter, lua_State*,bool>(&Helicopter::moveDown)) -
branches/new_class_id/src/world_entities/space_ships/hover.cc
r9746 r9757 39 39 40 40 #include "script_class.h" 41 CREATE_SCRIPTABLE_CLASS(Hover, Hover::classID(),41 CREATE_SCRIPTABLE_CLASS(Hover, 42 42 addMethod("hasPlayer", Executor0ret<Playable, lua_State*,bool>(&Playable::hasPlayer)) 43 43 //Coordinates -
branches/new_class_id/src/world_entities/space_ships/space_ship.cc
r9746 r9757 58 58 59 59 #include "script_class.h" 60 CREATE_SCRIPTABLE_CLASS(SpaceShip, SpaceShip::classID(),60 CREATE_SCRIPTABLE_CLASS(SpaceShip, 61 61 addMethod("hasPlayer", Executor0ret<Playable, lua_State*,bool>(&Playable::hasPlayer)) 62 62 ->addMethod("fire", Executor1<Playable, lua_State*, bool>(&Playable::fire)) -
branches/new_class_id/src/world_entities/space_ships/spacecraft_2d.cc
r9746 r9757 42 42 CREATE_FACTORY(Spacecraft2D); 43 43 44 CREATE_SCRIPTABLE_CLASS(Spacecraft2D, Spacecraft2D::classID(),44 CREATE_SCRIPTABLE_CLASS(Spacecraft2D, 45 45 addMethod("hasPlayer", Executor0ret<Playable, lua_State*,bool>(&Playable::hasPlayer)) 46 46 //Coordinates
Note: See TracChangeset
for help on using the changeset viewer.