Changeset 263 for juuso_m/Pong


Ignore:
Timestamp:
2009-08-04 13:07:40 (11 years ago)
Author:
juosmikk
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • juuso_m/Pong/Peli.cs

    r240 r263  
    4545            Level kentta = new Level(this); 
    4646            kentta.BackgroundColor = Color.Black; 
    47             IShape ympyra = Shapes.CreateCircle(20.0); 
     47            IShape ympyra = Shapes.CreateRectangle(20.0 , 30); 
    4848            pallo = new PhysicsObject(10.0, ympyra); 
    4949            pallo.X = -200.0; 
    5050            pallo.Y = 0.0; 
    51             pallo.Restitution = 9.0; 
     51            pallo.Restitution = 1.2; 
    5252            kentta.Objects.Add(pallo); 
    5353            AddCollisionHandler(pallo, KasittelePallonTormays); 
Note: See TracChangeset for help on using the changeset viewer.