Changeset 8595


Ignore:
Timestamp:
2017-06-13 14:38:55 (6 years ago)
Author:
npo17_13
Message:
 
Location:
2017/24/SebastianH/Pong/Pong/Pong
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • 2017/24/SebastianH/Pong/Pong/Pong/Pong.cs

    r8585 r8595  
    3333    void LuoKentta() 
    3434    { 
     35        Level.Width = Screen.Width; 
     36        Level.Height = Screen.Height; 
    3537        pallo = new PhysicsObject(40.0, 40.0); 
    3638        pallo.Shape = Shape.Circle; 
     
    3840        pallo.Y = -0.0; 
    3941        pallo.Restitution = 1.0; 
     42        pallo.Color = Color.Silver; 
    4043        Add(pallo); 
    4144 
     
    6164        ylaReuna.IsVisible = false; 
    6265 
    63         Level.Background.Color = Color.Black; 
     66        Level.Background.Color = Color.Maroon; 
    6467 
    65         Camera.ZoomToLevel(); 
    6668        } 
    6769    void AloitaPeli() 
     
    7779        maila.Y = y; 
    7880        maila.Restitution = 1.0; 
     81        maila.Color = Color.SeaGreen; 
    7982        Add(maila); 
    8083        return maila; 
Note: See TracChangeset for help on using the changeset viewer.