|
RpgGame
Console Based RPG game in C#
|
Provides global configuration values for the game. More...
Static Public Attributes | |
| const int | WindowWidth = 40 |
| Width of the main game map in characters. | |
| const int | WindowHeight = 20 |
| Height of the main game map in characters. | |
| const int | TargetFPS = 60 |
| Target frames per second for the game loop. | |
| const int | DefaultSpawnX = WindowWidth / 2 |
| Default horizontal spawn position for the player. | |
| const int | DefaultSpawnY = WindowHeight / 2 |
| Default vertical spawn position for the player. | |
| const int | SidebarWidth = 35 |
| Width of the sidebar displaying player information and inventory. | |
Provides global configuration values for the game.
This static class centralizes window, rendering, and default gameplay parameters to avoid hardcoded "magic numbers" throughout the project.
Values are defined as constants because they are compile-time fixed and represent immutable configuration settings.
|
static |
Target frames per second for the game loop.
Used to approximate frame timing in the console loop.