Changeset 1879 in orxonox.OLD for orxonox/trunk/core/input_output.cc
- Timestamp:
- May 8, 2004, 1:12:33 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/core/input_output.cc
r1875 r1879 43 43 void InputOutput::goUp() 44 44 { 45 (*player).go X(BASE_STEP);45 (*player).goY(STEP_FRONT); 46 46 } 47 47 48 48 void InputOutput::goDown() 49 49 { 50 (*player).go X(-BASE_STEP);50 (*player).goY(-STEP_FRONT); 51 51 } 52 52 53 53 void InputOutput::goLeft() 54 54 { 55 (*player).goY(-BASE_STEP); 55 (*player).goX(-STEP_SIDE); 56 56 57 } 57 58 58 59 void InputOutput::goRight() 59 60 { 60 (*player).goY(BASE_STEP); 61 62 (*player).goX(STEP_SIDE); 61 63 } 62 64 63 65 void InputOutput::shoot() 64 66 { 65 (*player).shoot( BASE_STEP);67 (*player).shoot(1); 66 68 }
Note: See TracChangeset
for help on using the changeset viewer.