Exemplo n.º 1
0
 static GameObject()
 {
     exponents["spawnpoint"] = new Spawnpoint("main", -1, -1);
     exponents["bell"]       = new SpatialGameObject("bell", -1, -1);
     exponents["powerup"]    = new PowerUp(-1, -1);
     foreach (string name in new string[] { "angrystone", "bouncingsnowball", "dispenser", "fish", "flame", "flyingsnowball", "jumpy", "kugelblitz", "mrbomb", "mriceblock", "mrrocket", "mrtree", "plant", "poisonivy", "skullyhop", "snowball", "snowsnail", "spidermite", "spiky", "sspiky", "stalactite", "yeti", "yeti_stalactite", "zeekling" })
     {
         exponents[name] = new Badguy(name, -1, -1);
     }
 }
Exemplo n.º 2
0
 public override GameObject Clone()
 {
     Badguy clone = new Badguy(Type, X, Y);
     return clone;
 }
Exemplo n.º 3
0
        public override GameObject Clone()
        {
            Badguy clone = new Badguy(Type, X, Y);

            return(clone);
        }
Exemplo n.º 4
0
 static GameObject()
 {
     exponents["spawnpoint"] = new Spawnpoint("main", -1, -1);
     exponents["bell"] = new SpatialGameObject("bell", -1, -1);
     exponents["powerup"] = new PowerUp(-1, -1);
     foreach (string name in new string[] { "angrystone", "bouncingsnowball", "dispenser", "fish", "flame", "flyingsnowball", "jumpy", "kugelblitz", "mrbomb", "mriceblock", "mrrocket", "mrtree", "plant", "poisonivy", "skullyhop", "snowball", "snowsnail", "spidermite", "spiky", "sspiky", "stalactite", "yeti", "yeti_stalactite", "zeekling" }) {
         exponents[name] = new Badguy(name, -1, -1);
     }
 }