Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1994 in orxonox.OLD for orxonox/branches/dave/core/input_output.cc


Ignore:
Timestamp:
Jun 21, 2004, 12:39:11 AM (20 years ago)
Author:
dave
Message:

orxonox/branches/dave:[test the Shit]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/dave/core/input_output.cc

    r1879 r1994  
    4040
    4141
     42void InputOutput::setPlayerStep(float step)
     43{
     44  cout << "setting player step to: " << step << endl;
     45  this->step = step;
     46}
     47
    4248
    4349void InputOutput::goUp()
    4450{
    45   (*player).goY(STEP_FRONT);
     51  //cout << "InoutOutput::goUp" << endl;
     52  (*player).goY(step);
    4653}
    4754
    4855void InputOutput::goDown()
    4956{
    50   (*player).goY(-STEP_FRONT);
     57  (*player).goY(-step);
    5158}
    5259
    5360void InputOutput::goLeft()
    5461{
    55   (*player).goX(-STEP_SIDE);
     62  (*player).goX(-step);
    5663
    5764}
     
    6067{
    6168
    62   (*player).goX(STEP_SIDE);
     69  (*player).goX(step);
    6370}
    6471
Note: See TracChangeset for help on using the changeset viewer.