Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1879 in orxonox.OLD for orxonox/trunk/core/input_output.cc


Ignore:
Timestamp:
May 8, 2004, 1:12:33 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: perspective view, key-repeat bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/core/input_output.cc

    r1875 r1879  
    4343void InputOutput::goUp()
    4444{
    45   (*player).goX(BASE_STEP);
     45  (*player).goY(STEP_FRONT);
    4646}
    4747
    4848void InputOutput::goDown()
    4949{
    50   (*player).goX(-BASE_STEP);
     50  (*player).goY(-STEP_FRONT);
    5151}
    5252
    5353void InputOutput::goLeft()
    5454{
    55   (*player).goY(-BASE_STEP);
     55  (*player).goX(-STEP_SIDE);
     56
    5657}
    5758
    5859void InputOutput::goRight()
    5960{
    60   (*player).goY(BASE_STEP);
     61
     62  (*player).goX(STEP_SIDE);
    6163}
    6264
    6365void InputOutput::shoot()
    6466{
    65   (*player).shoot(BASE_STEP);
     67  (*player).shoot(1);
    6668}
Note: See TracChangeset for help on using the changeset viewer.