Exemple #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);
     }
 }
 public override GameObject Clone()
 {
     Spawnpoint clone = new Spawnpoint(Name, X, Y);
     return clone;
 }
Exemple #3
0
        public override GameObject Clone()
        {
            Spawnpoint clone = new Spawnpoint(Name, X, Y);

            return(clone);
        }
 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);
     }
 }