public static Enemy Create(string name, double x, double y) { X = x; Y = y; return(SCommon.FirstOrDie(Enemies, enemy => enemy.Name == name, () => new DDError(name)).Creator()); }
public static Tile Create(string name) { return(SCommon.FirstOrDie(Tiles, tile => tile.Name == name, () => new DDError(name)).Creator()); }