Ignore:
Timestamp:
2013-06-27 09:36:40 (8 years ago)
Author:
malaitia
Message:

Talletus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2013/26/MaxL/Keulaa2/Keulaa/Keulaa/Keulaa.cs

    r4251 r4252  
    7373    } 
    7474 
    75     void Nojaus(PhysicsObject Kypara, Vector k) 
    76     { 
    77         Kypara.Push(k); 
     75    void Nojaus(PhysicsObject Helmet, Vector k) 
     76    { 
     77        Helmet.Push(k); 
    7878    } 
    7979  
     
    164164        //Keyboard.Listen(Key.Up, ButtonState.Down, Kaasu, "Braapp!", mopo, kaasu); 
    165165        Keyboard.Listen(Key.Up, ButtonState.Down, Kiihdyta, "Kaasu!", kaasu2); 
    166         Keyboard.Listen(Key.Up, ButtonState.Down, Nojaus, "Jarru!", Kypara, eteen); 
    167         Keyboard.Listen(Key.Down, ButtonState.Down, Nojaus, "Jarru!", Kypara, taakse); 
    168         Keyboard.Listen(Key.Down, ButtonState.Down, Nojaus, "Jarru!", Kypara, taakse); 
     166        Keyboard.Listen(Key.Right, ButtonState.Down, Nojaus, "Nojaa eteen", Vartalo, eteen); 
     167        Keyboard.Listen(Key.Left, ButtonState.Down, Nojaus, "Nojaa taakse", Vartalo, taakse); 
     168        //Keyboard.Listen(Key.Down, ButtonState.Down, Nojaus, "Jarru!", Kypara, taakse); 
    169169        Keyboard.Listen(Key.Escape, ButtonState.Pressed, Exit, "Lopeta"); 
    170170    } 
Note: See TracChangeset for help on using the changeset viewer.