Changeset 3468 for 2012/27/MarkusK


Ignore:
Timestamp:
2012-07-03 12:23:55 (8 years ago)
Author:
maolkuus
Message:

Talletus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2012/27/MarkusK/pong/pong/pong/pong/pong.cs

    r3461 r3468  
    5959 
    6060        PhysicsObject ylaReuna = Level.CreateTopBorder(); 
    61         ylaReuna.Restitution = 1.0; 
     61        ylaReuna.Restitution = 2.0; 
    6262        ylaReuna.IsVisible = false; 
    6363 
    6464        PhysicsObject alaReuna = Level.CreateBottomBorder(); 
    65         alaReuna.Restitution = 1.0; 
     65        alaReuna.Restitution = 2.0; 
    6666        alaReuna.IsVisible = false; 
    6767 
     
    8787    void AloitaPeli() 
    8888    { 
    89         Vector impulssi = new Vector(500.0, 0.0); 
     89        Vector impulssi = new Vector(700.0, 0.0); 
    9090        ball.Hit(impulssi); 
    9191    } 
     
    151151    } 
    152152 
    153     void KasittelePallonTormays(PhysicsObject pallo, PhysicsObject kohde) 
     153    void KasittelePallonTormays(PhysicsObject ball, PhysicsObject kohde) 
    154154    { 
    155155        if (kohde == oikeaReuna) 
Note: See TracChangeset for help on using the changeset viewer.