Beispiel #1
0
 public virtual void Blast(SpaceGame g)
 {
     g.RemoveFromLists(this);
     g.CreateDebris(upperLeft);
     Spawner.SpawnChildren(g, upperLeft);
     g.AddScore(ScorePayout);
 }
Beispiel #2
0
        public override void Blast(SpaceGame g)
        {
            //base.Blast(g);
            g.RemoveFromAliens(this);

            g.CreateDebris(upperLeft);
            g.CreateDebris(upperLeft + RandomVector(5.0));
            g.CreateDebris(upperLeft + RandomVector(5.0));
            g.CreateDebris(upperLeft + RandomVector(5.0));
            //Spawner.SpawnChildren(g, upperLeft);
            g.AddScore(ScorePayout);
        }