Remove polymorphism and inheritance from Tile

This commit is contained in:
Kim Ravn Hansen
2025-10-12 09:04:28 +02:00
parent 1f97ea63e2
commit 62bff6a26d
3 changed files with 35 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
import { CharType, TileMap } from "./ascii_tile_map";
import { EncounterTile, FloorTile, PlayerStartTile, TrapTile, LootTile, WallTile } from "./ascii_tile_types";
import { Tile } from "./ascii_tile_types";
import { Orientation } from "./ascii_types";
class DungeonGenerator {