- Timestamp:
- 2014-06-27 11:52:21 (7 years ago)
- Location:
- 2014/26/HeikkiH
- Files:
-
- 113 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
2014/26/HeikkiH/Pong/Pong/Pong/Pong.cs
r5047 r5154 16 16 PhysicsObject maila1; 17 17 PhysicsObject maila2; 18 19 PhysicsObject este;20 PhysicsObject este2;21 18 22 19 PhysicsObject vasenreuna; … … 62 59 maila1 = luomaila(Level.Left + 20.0, 0.0); 63 60 maila2 = luomaila(Level.Right - 20.0, 0.0); 64 65 este2 = new PhysicsObject(100.0, 100.0);66 este2.X = -200.0;67 este2.Y = 0.0;68 este2.Color = Color.Ultramarine;69 Add(este2);70 71 este =new PhysicsObject(100.0, 100.0);72 este.Color = Color.YellowGreen;73 este.X = -200.0;74 este.Y = 0.0;75 Add(este);76 61 77 62 … … 177 162 178 163 } 164 void luoeste(double x,double y) 165 { 166 object este = object; 167 este.Shape = Shape.Rectangle; 168 este.X = x; 169 este.Y = y; 170 Add(este); 171 172 173 } 179 174 180 175 }
Note: See TracChangeset
for help on using the changeset viewer.