- Timestamp:
- 2010-08-06 13:05:32 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2010/31/eelaeepu/space defense 1.0/Peli.cs
r1654 r1676 27 27 28 28 Label pistenaytto; 29 IntMeter pistelaskuri = new IntMeter(0);30 31 HighScoreList topLista;29 public static IntMeter pistelaskuri = new IntMeter(0); 30 31 public static HighScoreList topLista; 32 32 33 33 protected override void Begin() … … 76 76 { 77 77 alus = new Alus(40, 50); 78 alus.onPelaaja = true; 78 79 alus.AsetaHitpoints(hp); 79 80 alus.Tag = "omaalus"; … … 595 596 { 596 597 private double Hitpoints; 598 public bool onPelaaja = false; 597 599 598 600 public Alus(double width, double height) … … 615 617 if (AnnaHitPoints() <= 0 && !this.IsDestroyed()) 616 618 { 619 if (onPelaaja) 620 { 621 Avaruuspeli.topLista.Show(Avaruuspeli.pistelaskuri.Value); 622 623 } 617 624 this.Destroy(); 618 625 }
Note: See TracChangeset
for help on using the changeset viewer.