Changeset 9221 in orxonox.OLD for branches/presentation/src/world_entities
- Timestamp:
- Jul 5, 2006, 1:07:57 PM (18 years ago)
- Location:
- branches/presentation/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/creatures/fps_player.cc
r9220 r9221 86 86 { 87 87 this->setClassID(CL_FPS_PLAYER, "FPSPlayer"); 88 89 88 90 89 this->bLeft = false; … … 268 267 if( this->bJump) 269 268 { 270 printf(" mechanic2:walkTo( %f, mtheight, %f)\n",this->getAbsCoorX(),this->getAbsCoorZ());269 printf("fleemechanic:runTo( %f, mtheight, %f)\n",this->getAbsCoorX(),this->getAbsCoorZ()); 271 270 } 272 271 -
branches/presentation/src/world_entities/playable.h
r9214 r9221 92 92 93 93 inline bool beFire(){ return this->bFire; } 94 inline void fire(bool bF){ this->bFire = bF;} 94 95 95 96 protected: -
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.