Changeset 8952 in orxonox.OLD for branches/single_player_map/src/world_entities/creatures
- Timestamp:
- Jun 30, 2006, 2:04:53 PM (19 years ago)
- Location:
- branches/single_player_map/src/world_entities/creatures
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/creatures/fps_player.cc
r8944 r8952 83 83 this->bBackward = false; 84 84 this->bJump = false; 85 this->bPosBut = false; 85 86 86 87 this->xMouse = 0.0f; … … 206 207 void FPSPlayer::tick (float time) 207 208 { 209 210 if( this->bPosBut) 211 { 212 this->bPosBut = false; 213 printf("guard:walkTo( %f, height, %f)\n",this->getAbsCoorX(),this->getAbsCoorZ()); 214 } 215 208 216 Playable::tick( time ); 209 217 … … 339 347 } 340 348 else if( event.type == KeyMapper::PEV_JUMP) 341 this-> getAbsCoor().debug();342 } 343 344 345 346 349 this->bPosBut = event.bPressed; 350 } 351 352 353 354 -
branches/single_player_map/src/world_entities/creatures/fps_player.h
r8939 r8952 42 42 bool bBackward; 43 43 bool bJump; //!< jumping 44 bool bPosBut; //!< position button 44 45 45 46 float xMouse; //!< mouse moved in x-Direction
Note: See TracChangeset
for help on using the changeset viewer.