Changeset 8595
- Timestamp:
- 2017-06-13 14:38:55 (6 years ago)
- Location:
- 2017/24/SebastianH/Pong/Pong/Pong
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
2017/24/SebastianH/Pong/Pong/Pong/Pong.cs
r8585 r8595 33 33 void LuoKentta() 34 34 { 35 Level.Width = Screen.Width; 36 Level.Height = Screen.Height; 35 37 pallo = new PhysicsObject(40.0, 40.0); 36 38 pallo.Shape = Shape.Circle; … … 38 40 pallo.Y = -0.0; 39 41 pallo.Restitution = 1.0; 42 pallo.Color = Color.Silver; 40 43 Add(pallo); 41 44 … … 61 64 ylaReuna.IsVisible = false; 62 65 63 Level.Background.Color = Color. Black;66 Level.Background.Color = Color.Maroon; 64 67 65 Camera.ZoomToLevel();66 68 } 67 69 void AloitaPeli() … … 77 79 maila.Y = y; 78 80 maila.Restitution = 1.0; 81 maila.Color = Color.SeaGreen; 79 82 Add(maila); 80 83 return maila;
Note: See TracChangeset
for help on using the changeset viewer.