Changeset 2430
- Timestamp:
- 2011-07-04 13:09:25 (11 years ago)
- Location:
- 2011/24/AkiR/pong
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
2011/24/AkiR/pong/pong/pong/Peli.cs
r2161 r2430 41 41 pallo = new PhysicsObject(40.0, 40.0); 42 42 Add(pallo); 43 pallo.Shape = Shape. Hexagon;43 pallo.Shape = Shape.Circle; 44 44 pallo.X = -200.0; 45 45 pallo.Y = 0.0; 46 pallo.Restitution = 1.0; 46 47 47 48 vasenReuna = Level.CreateLeftBorder(); 48 vasenReuna.Restitution = 1.0;49 vasenReuna.IsVisible = true;50 pallo.Restitution = 1.0;49 vasenReuna.Restitution = 2.0; 50 vasenReuna.IsVisible = false; 51 51 52 52 53 Level.Background.CreateGradient(Color.Black, Color.Black); … … 57 58 oikeaReuna = Level.CreateRightBorder(); 58 59 oikeaReuna.Restitution = 1.0; 59 oikeaReuna.IsVisible = true;60 oikeaReuna.IsVisible = false; 60 61 61 62 PhysicsObject alaReuna = Level.CreateBottomBorder();
Note: See TracChangeset
for help on using the changeset viewer.