Changeset 2209 for 2011


Ignore:
Timestamp:
2011-06-28 12:34:24 (8 years ago)
Author:
teeevasa
Message:

Talletus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2011/26/JaakkoL/Rogue Agent 2372/Rogue Agent 2372/Rogue Agent 2372/Player.cs

    r2206 r2209  
    1919    public void addControls() 
    2020    { 
    21         Keyboard.Listen(Key.Right, ButtonState.Down, "Move right", speed); 
     21        //Keyboard.Listen(Key.Right, ButtonState.Down, liikuta, "Liikkuu vasemmalle", pelaaja1, nopeus); 
     22        Keyboard.Listen(Key.Right, ButtonState.Down, moveRight, "Moves right"); 
     23    } 
     24 
     25    public void moveRight(int speed) 
     26    { 
     27        this.Walk(speed); 
    2228    } 
    2329} 
Note: See TracChangeset for help on using the changeset viewer.