- Timestamp:
- 2010-06-17 13:17:45 (13 years ago)
- Location:
- 2010/23/hniemi/ShootEmUp/ShootEmUp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
2010/23/hniemi/ShootEmUp/ShootEmUp/Peli.cs
r932 r944 170 170 Keyboard.Listen(Key.D1, ButtonState.Pressed, VaihdaAsetta, "Valitsee säde-aseen", 1); 171 171 Keyboard.Listen(Key.D2, ButtonState.Pressed, VaihdaAsetta, "Valitsee ohjuksen", 2); 172 Keyboard.Listen(Key.D3, ButtonState.Pressed, VaihdaAsetta, "Valitsee fotoniaseen", 2);172 Keyboard.Listen(Key.D3, ButtonState.Pressed, VaihdaAsetta, "Valitsee fotoniaseen", 3); 173 173 } 174 174 … … 214 214 { 215 215 List<AikaTapahtuma> vihollistenTuloajat = new List<AikaTapahtuma>(); 216 /*216 217 217 for (int i = 0; i < maara; i++) 218 218 { 219 219 vihollistenTuloajat.Add(new AikaTapahtuma(2 + (i * 5), LahetaSatunnainenVihollislaivue, 4, 10)); 220 220 } 221 */ 222 vihollistenTuloajat.Add(new AikaTapahtuma(1/*2 + (maara * 7)*/, LahetaLoppupomo, 1, 20)); 221 vihollistenTuloajat.Add(new AikaTapahtuma(2 + (maara * 5), LahetaLoppupomo, 1, 20)); 223 222 224 223 foreach (AikaTapahtuma tapahtuma in vihollistenTuloajat) … … 421 420 { 422 421 ((Alus)toinen).TakeHit(((LisaData)ammus.Tag).Damage); 423 if (toinen.IsDestroyed()) score.Value ++;422 if (toinen.IsDestroyed()) score.Value += 300; 424 423 } 425 424
Note: See TracChangeset
for help on using the changeset viewer.