|
R-Type
Distributed multiplayer game engine in C++
|
Centralized game rules and configuration. More...
#include <GameRules.hpp>

Public Member Functions | |
| GameRules ()=default | |
| ~GameRules ()=default | |
| constexpr uint32_t | getDefaultPlayerHealth () const |
| constexpr uint32_t | getDefaultPlayerSpeed () const |
| constexpr uint32_t | getPlayerSpawnX () const |
| constexpr uint32_t | getPlayerSpawnY () const |
| constexpr float | getDefaultPlayerFireRate () const |
| constexpr uint32_t | getDefaultPlayerDamage () const |
Centralized game rules and configuration.
Contains gameplay constants used by GameLogic. Modify these values to change game balance without recompiling.
Definition at line 21 of file GameRules.hpp.
|
default |
|
default |
|
inlineconstexpr |
Definition at line 32 of file GameRules.hpp.
Referenced by server::GameruleBroadcaster::sendAllGamerules(), and server::GameLogic::spawnPlayer().
|
inlineconstexpr |
Definition at line 31 of file GameRules.hpp.
Referenced by server::GameruleBroadcaster::sendAllGamerules(), and server::GameLogic::spawnPlayer().
|
inlineconstexpr |
Definition at line 27 of file GameRules.hpp.
Referenced by server::GameruleBroadcaster::sendAllGamerules(), and server::GameLogic::spawnPlayer().
|
inlineconstexpr |
Definition at line 28 of file GameRules.hpp.
Referenced by server::GameruleBroadcaster::sendAllGamerules(), and server::GameLogic::spawnPlayer().
|
inlineconstexpr |
Definition at line 29 of file GameRules.hpp.
Referenced by server::GameruleBroadcaster::sendAllGamerules(), and server::GameLogic::spawnPlayer().
|
inlineconstexpr |
Definition at line 30 of file GameRules.hpp.
Referenced by server::GameruleBroadcaster::sendAllGamerules(), and server::GameLogic::spawnPlayer().