Changeset 9221 in orxonox.OLD for branches/presentation/src/world_entities/space_ships
- Timestamp:
- Jul 5, 2006, 1:07:57 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/space_ships/space_ship.cc
r9193 r9221 58 58 CREATE_SCRIPTABLE_CLASS(SpaceShip, CL_SPACE_SHIP, 59 59 addMethod("hasPlayer", ExecutorLua0ret<Playable,bool>(&Playable::hasPlayer)) 60 ->addMethod("fire", ExecutorLua1<Playable, bool>(&Playable::fire)) 60 61 ->addMethod("loadModel", ExecutorLua2<WorldEntity,const std::string& ,float>(&WorldEntity::loadModel2)) 61 62 ->addMethod("setName", ExecutorLua1<BaseObject,const std::string&>(&BaseObject::setName)) … … 354 355 // return; 355 356 356 // spaceship controlled movement 357 // spaceship controlled movement fire(bool bF){ this->bFire = bF;} 357 358 //if (this->getOwner() == this->getHostID()) 358 359 this->calculateVelocity(time);
Note: See TracChangeset
for help on using the changeset viewer.