Changeset 1994 in orxonox.OLD for orxonox/branches/dave/core/input_output.cc
- Timestamp:
- Jun 21, 2004, 12:39:11 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/dave/core/input_output.cc
r1879 r1994 40 40 41 41 42 void InputOutput::setPlayerStep(float step) 43 { 44 cout << "setting player step to: " << step << endl; 45 this->step = step; 46 } 47 42 48 43 49 void InputOutput::goUp() 44 50 { 45 (*player).goY(STEP_FRONT); 51 //cout << "InoutOutput::goUp" << endl; 52 (*player).goY(step); 46 53 } 47 54 48 55 void InputOutput::goDown() 49 56 { 50 (*player).goY(- STEP_FRONT);57 (*player).goY(-step); 51 58 } 52 59 53 60 void InputOutput::goLeft() 54 61 { 55 (*player).goX(- STEP_SIDE);62 (*player).goX(-step); 56 63 57 64 } … … 60 67 { 61 68 62 (*player).goX( STEP_SIDE);69 (*player).goX(step); 63 70 } 64 71
Note: See TracChangeset
for help on using the changeset viewer.