Changeset 1900 in orxonox.OLD for orxonox/trunk/core/input_output.cc
- Timestamp:
- May 23, 2004, 11:21:38 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/core/input_output.cc
r1896 r1900 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 51 //cout << "InoutOutput::goUp" << endl; 46 (*player).goY( STEP_FRONT);52 (*player).goY(step); 47 53 } 48 54 49 55 void InputOutput::goDown() 50 56 { 51 (*player).goY(- STEP_FRONT);57 (*player).goY(-step); 52 58 } 53 59 54 60 void InputOutput::goLeft() 55 61 { 56 (*player).goX(- STEP_SIDE);62 (*player).goX(-step); 57 63 58 64 } … … 61 67 { 62 68 63 (*player).goX( STEP_SIDE);69 (*player).goX(step); 64 70 } 65 71
Note: See TracChangeset
for help on using the changeset viewer.