- Timestamp:
- 2013-07-23 12:55:02 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2013/30/VilleF/Lentokone/Lentokone/Lentokone/Lentokone.cs
r4554 r4556 9 9 public class Lentokone : PhysicsGame 10 10 { 11 private Animation Havulento;12 11 13 public override void Begin() 14 { 15 Havulento = LoadAnimation("havusaurus"); 16 //... 17 } 12 13 18 14 19 15 Image maisema = LoadImage("havutausta"); … … 21 17 Vector nopeusYlos = new Vector(0, 1000); 22 18 Vector nopeusAlas = new Vector(0, -1000); 23 //PhysicsObject pelaaja; 19 PhysicsObject pelaaja; 20 24 21 public override void Begin() 25 22 { … … 48 45 void LuoPelaaja() 49 46 { 50 PhysicsObjectpelaaja = new PhysicsObject(235.0, 283.0);47 pelaaja = new PhysicsObject(235.0, 283.0); 51 48 pelaaja.Shape = Shape.FromImage(havusaurus); 52 49 pelaaja.Image = havusaurus;
Note: See TracChangeset
for help on using the changeset viewer.