Changeset 4225


Ignore:
Timestamp:
2013-06-25 14:58:18 (10 years ago)
Author:
olalleht
Message:

Talletus.

Location:
2013/26/Olli-PekkaL
Files:
23 added
1 edited

Legend:

Unmodified
Added
Removed
  • 2013/26/Olli-PekkaL/pong/pong/pong/pong.cs

    r4207 r4225  
    4444        pallo = new PhysicsObject(30, 30); 
    4545        pallo.Shape = Shape.Circle; 
    46         pallo.Color = Color.Beige; 
     46        pallo.Color = Color.White; 
    4747        pallo.X = 0; 
    4848        pallo.Y = 200; 
    49         pallo.Restitution = 800.0; 
     49        pallo.Restitution = 500.0; 
    5050        Add(pallo); 
    5151 
     
    5454 
    5555        Level.BackgroundColor = Color.Black; 
    56          vasenReuna = Level.CreateLeftBorder(); 
     56 
     57        vasenReuna = Level.CreateLeftBorder(); 
    5758        vasenReuna.Restitution = 1.0; 
    5859        vasenReuna.IsVisible = false; 
     
    8788        maila.X = x; 
    8889        maila.Y = y; 
    89         maila.Restitution = 1.1; 
     90        maila.Restitution = 1.2; 
     91        maila.Color = Color.White; 
    9092        Add(maila); 
    9193        return maila; 
     
    156158        { 
    157159            pelaajan2pisteet.Value += 1; 
    158  
     160             
    159161        } 
    160162    } 
Note: See TracChangeset for help on using the changeset viewer.