Changeset 9052
- Timestamp:
- 2017-07-24 13:54:13 (5 years ago)
- Location:
- 2017/30/TuomasH/Pong/Pong/Pong
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
2017/30/TuomasH/Pong/Pong/Pong/Pong.cs
r9050 r9052 18 18 pallo.Velocity = new Vector(pallo.Velocity.X * 1.1, pallo.Velocity.Y); 19 19 } 20 base.Update(time); 20 21 21 22 } 22 23 Vector nopeusYlos = new Vector(0, 350); … … 30 31 PhysicsObject alaReuna; 31 32 PhysicsObject yläReuna; 33 34 35 36 32 37 public override void Begin() 33 38 { … … 48 53 pallo.X = 0.0; 49 54 pallo.Y = 0.0; 55 pallo.CanRotate = false; 56 50 57 vasenReuna = Level.CreateLeftBorder(); 51 58 vasenReuna.Restitution = 1.0;
Note: See TracChangeset
for help on using the changeset viewer.