Changeset 972 for 2010/24/tekrjant/Laskuvarjo/Peli.cs
- Timestamp:
- 2010-06-18 12:35:44 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2010/24/tekrjant/Laskuvarjo/Peli.cs
r957 r972 14 14 Image seinanKuva; 15 15 Image[] pilvenKuvat; 16 SoundEffect plats; 16 17 17 18 PhysicsObject maasto; … … 25 26 { 26 27 LataaKuvat(); 28 plats = LoadSoundEffect("plats"); 27 29 28 30 Gravity = new Vector(0, -500); … … 108 110 if (Math.Abs(pelaaja.Velocity.Y) > 200) 109 111 { 112 plats.Play(); 110 113 Kuole(); 111 114 }
Note: See TracChangeset
for help on using the changeset viewer.