Door(int x, int y, ConsoleColor fore, bool isOpened) { this.x = x; this.y = y; this.isOpened = isOpened; this.icon = CIcon.Tile(fore, ConsoleColor.Black, isOpened? openedChar : closedChar); }
static public Tile grassTile(int x, int y) { return(new Tile(x, y, CIcon.Tile(ConsoleColor.DarkGreen, ConsoleColor.Black, ','))); }
static public Tile stoneTile(int x, int y) { return(new Tile(x, y, CIcon.Tile(ConsoleColor.DarkBlue, ConsoleColor.Black, '.'))); }