コード例 #1
0
 public override void Blast(SpaceGame g)
 {
     g.LoseLife();
     g.TimeInPlayer(60);
     g.CreateDebris(upperLeft);
     g.CreateDebris(upperLeft);
     g.CreateDebris(upperLeft);
     g.CreateDebris(upperLeft);
 }
コード例 #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);
        }
コード例 #3
0
 public virtual void Blast(SpaceGame g)
 {
     g.RemoveFromLists(this);
     g.CreateDebris(upperLeft);
     Spawner.SpawnChildren(g, upperLeft);
     g.AddScore(ScorePayout);
 }
コード例 #4
0
 public void SpawnChildren(SpaceGame g, Point loc)
 {
     g.CreateDebris(loc);
     g.CreateDebris(loc);
 }