RpgGame
Console Based RPG game in C#
Loading...
Searching...
No Matches
RpgGame.Tiles.Tile Class Referenceabstract

Base abstract class representing a tile in the game world. More...

Inheritance diagram for RpgGame.Tiles.Tile:
Collaboration diagram for RpgGame.Tiles.Tile:

Public Attributes

List< TilePosList = new List<Tile>((Config.WindowHeight - 1) * (Config.WindowHeight - 1))
 Internal list used for position tracking. Reserved for future tile-related operations.
 

Properties

char Symbol [get]
 Gets the character symbol used to render the tile on the map.
 
ConsoleColor color [get]
 
bool IsWalkable [get]
 Gets a value indicating whether characters can walk on this tile.
 
bool IsOccupied [get, set]
 Gets or sets a value indicating whether the tile is currently occupied by a character or entity.
 

Detailed Description

Base abstract class representing a tile in the game world.

Tiles form the foundation of the level terrain. Each tile defines whether it can be walked on and how it should be rendered on the map.

Concrete implementations (such as FloorTile and WallTile) must provide their own symbol and walkability characteristics.


The documentation for this class was generated from the following file: