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

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