Example #1
0
 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);
 }
Example #2
0
 static public Tile grassTile(int x, int y)
 {
     return(new Tile(x, y, CIcon.Tile(ConsoleColor.DarkGreen, ConsoleColor.Black, ',')));
 }
Example #3
0
 static public Tile stoneTile(int x, int y)
 {
     return(new Tile(x, y, CIcon.Tile(ConsoleColor.DarkBlue, ConsoleColor.Black, '.')));
 }