Changeset 10698 in orxonox.OLD for trunk/src/world_entities/spectator.cc
- Timestamp:
- Jun 14, 2007, 5:33:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/spectator.cc
r10682 r10698 28 28 29 29 #include "player.h" 30 31 #include "util/track/action_box.h" 30 32 31 33 … … 300 302 else if( event.type == KeyMapper::PEV_BACKWARD) 301 303 this->bBackward = event.bPressed; //this->shiftCoor(0,-.1,0); 304 else if ( event.type == KeyMapper::PEV_JUMP ) 305 { 306 if ( State::getActionBox() && State::getActionBox()->isPointInBox( this->getAbsCoor() ) ) 307 { 308 PRINTF(0)("IN BOX\n"); 309 } 310 else 311 { 312 PRINTF(0)("NOT IN BOX\n"); 313 } 314 } 302 315 else if( event.type == EV_MOUSE_MOTION) 303 316 {
Note: See TracChangeset
for help on using the changeset viewer.