public override List <Entity> SpawnAt(int x, int y, SingleObject <Entity> f) { if (f == null || !tileMap.CanSpawnAt(x, y)) { return(new List <Entity>()); } List <Entity> enemies = new ArrayList <>(); enemies.Add(f.Create(x * AssetManagerProxy.GetMapTileSize(), y * AssetManagerProxy.GetMapTileSize(), this.tileMap)); return(enemies); }