Changeset 8516


Ignore:
Timestamp:
2017-06-12 13:12:46 (2 years ago)
Author:
npo17_16
Message:
 
Location:
2017/24/EliasH/pallopeli
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • 2017/24/EliasH/pallopeli/pallopeli/pallopeli/pallopeli.cs

    r8497 r8516  
    3636        maila.Restitution = 1.0; 
    3737        Add(maila); 
     38        Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); 
     39  } 
    3840 
    39          
    40          
     41    void AloitaPeli() 
     42    { 
     43        Vector impulssi = new Vector(500.0, 0.0); 
     44        pallo.Hit(impulssi); 
    4145 
    42        Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); 
    43     }   
     46    } 
    4447 
    4548} 
     49     
Note: See TracChangeset for help on using the changeset viewer.