Changeset 2581
- Timestamp:
- 2011-08-05 11:54:51 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2011/31/JereK/Serades/Serades/Serades/Peli.cs
r2580 r2581 128 128 pelaaja1Pyssy = new LaserGun(20, 5); 129 129 pelaaja1Pyssy.AttackSound = null; 130 130 pelaaja1.Restitution = -10; 131 131 pelaaja1Pyssy.ProjectileCollision = LaserSadeOsuu; 132 132 pelaaja1Pyssy.InfiniteAmmo = true; … … 150 150 pelaaja2.LinearDamping = 0.96; 151 151 pelaaja2.Image = oliokuva; 152 pelaaja2.Restitution = -10; 152 153 pelaaja2Pyssy = new LaserGun(20, 5); 153 154 pelaaja2Pyssy.AttackSound = null; … … 186 187 { 187 188 Alus Pomo = new Alus(100, 200); 188 if (kaksinpeli) Pomo.HP = 500 ;189 else Pomo.HP = 200 ;189 if (kaksinpeli) Pomo.HP = 5000; 190 else Pomo.HP = 2000; 190 191 191 192 Pomo.Image = pomonkuva; … … 445 446 public class Alus : PhysicsObject 446 447 { 447 public int HP = 200 ;448 public int HP = 2000; 448 449 449 450 public Alus(int width, int height)
Note: See TracChangeset
for help on using the changeset viewer.