- Timestamp:
- 2013-07-23 13:34:50 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2013/30/VilleF/Lentokone/Lentokone/Lentokone/Lentokone.cs
r4560 r4567 25 25 { 26 26 27 Level.Width = 1024; 28 Level.Height = 800; 29 SetWindowSize(1024, 800, false); 30 31 27 32 28 33 … … 30 35 Level.Height = 600; 31 36 SetWindowSize(800, 600, false); 37 32 38 LuoKentta(); 33 39 LuoPelaaja(); 34 40 LiikutaPelaajaa(); 35 41 Camera.ZoomToLevel(); 42 //TiputaPommi(); 36 43 PhoneBackButton.Listen(ConfirmExit, "Lopeta peli"); 37 44 … … 51 58 KaannaPelaajaa, null, 0.0); 52 59 } 53 54 void KaannaPelaajaa(double kaannos) 60 void KaannaPelaajaa(double kaannos) 55 61 { 56 62 pelaaja.AngularVelocity = kaannos; 57 63 58 64 } 59 60 65 void PelaajaTormasi(PhysicsObject tormaaja, PhysicsObject kohde) 66 { 67 68 } 61 69 void LiikutaPelaajaa(int suunta) 62 70 { … … 83 91 pelaaja.MirrorImage(); 84 92 Add(pelaaja); 85 93 AddCollisionHandler(pelaaja, CollisionHandler.ExplodeBoth(200, true)); 86 94 } 87 95 void LiikutaPelaajaa() … … 93 101 94 102 } 103 95 104 }
Note: See TracChangeset
for help on using the changeset viewer.