- Timestamp:
- 2013-06-25 14:58:18 (10 years ago)
- 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 44 44 pallo = new PhysicsObject(30, 30); 45 45 pallo.Shape = Shape.Circle; 46 pallo.Color = Color. Beige;46 pallo.Color = Color.White; 47 47 pallo.X = 0; 48 48 pallo.Y = 200; 49 pallo.Restitution = 800.0;49 pallo.Restitution = 500.0; 50 50 Add(pallo); 51 51 … … 54 54 55 55 Level.BackgroundColor = Color.Black; 56 vasenReuna = Level.CreateLeftBorder(); 56 57 vasenReuna = Level.CreateLeftBorder(); 57 58 vasenReuna.Restitution = 1.0; 58 59 vasenReuna.IsVisible = false; … … 87 88 maila.X = x; 88 89 maila.Y = y; 89 maila.Restitution = 1.1; 90 maila.Restitution = 1.2; 91 maila.Color = Color.White; 90 92 Add(maila); 91 93 return maila; … … 156 158 { 157 159 pelaajan2pisteet.Value += 1; 158 160 159 161 } 160 162 }
Note: See TracChangeset
for help on using the changeset viewer.