Changeset 4961 for 2014/24


Ignore:
Timestamp:
2014-06-11 15:01:08 (5 years ago)
Author:
sieerinn
Message:
 
Location:
2014/24/ArtturiN
Files:
58 added
6 edited

Legend:

Unmodified
Added
Removed
  • 2014/24/ArtturiN/Pong/Pong/Pong/Pong.cs

    r4923 r4961  
    3535    void LuoKentta() 
    3636    { 
    37         pallo = new PhysicsObject(50.0, 50.0); 
     37        pallo = new PhysicsObject (100.0, 100.0); 
    3838        pallo.Shape = Shape.Circle; 
    3939        pallo.Color = Color.Black; 
     
    8080    { 
    8181 
    82         Vector impulssi = new Vector(500.0, 0.0); 
     82        Vector impulssi = new Vector(1000.0, 0.0); 
    8383        pallo.Hit(impulssi); 
    8484 
     
    8787    PhysicsObject LuoMaila(double x, double y) 
    8888    { 
    89         PhysicsObject maila = PhysicsObject.CreateStaticObject(10.0, 100.0); 
     89        PhysicsObject maila = PhysicsObject.CreateStaticObject(10.0, 200.0); 
    9090        maila.Shape = Shape.Rectangle; 
    9191        maila.X = x; 
    9292        maila.Y = y; 
    93         maila.Restitution = 1.0; 
     93        maila.Restitution = 30.0; 
    9494        maila.Color = Color.Black; 
    9595        Add(maila); 
Note: See TracChangeset for help on using the changeset viewer.