Changeset 2687 for 2012/JAO


Ignore:
Timestamp:
2012-04-16 10:59:46 (8 years ago)
Author:
anonymous
Message:

tein pong-peliä

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2012/JAO/JuhoLehmusvyory/Pong/Pong/Pong/Pong.cs

    r2666 r2687  
    1111    public override void Begin() 
    1212    { 
    13         // TODO: Kirjoita ohjelmakoodisi tähän 
     13        PhysicsObject pallo = new PhysicsObject(100, 100); 
     14        pallo.Shape = Shape.Circle; 
     15        Add(pallo); 
     16        pallo.Color = Color.Red; 
     17        Vector impulssi = new Vector(500, 0); 
     18        pallo.Hit(impulssi); 
     19         
    1420 
    1521        PhoneBackButton.Listen(ConfirmExit, "Lopeta peli"); 
Note: See TracChangeset for help on using the changeset viewer.