|
Rehti MMORPG
1.0.0
Rehti MMORPG is a free and open source MMORPG game.
|
#include "CharacterReader.hpp"#include "../../Config.hpp"#include "MapReader.hpp"#include "RehtiUtils.hpp"#include <stdexcept>
Functions | |
| GameCharacters | readCharacterData () |
| Reads the character data from JSON file. More... | |
| void | validSpawnCoordinateBounds (SpawnCoordinateBounds spawnCoordinateBounds, int worldWidth, int worldHeight) |
| Check if SpawnCoordinateBounds is valid. Throws error if not. More... | |
| GameCharacters readCharacterData | ( | ) |
Reads the character data from JSON file.


| void validSpawnCoordinateBounds | ( | SpawnCoordinateBounds | spawnCoordinateBounds, |
| int | worldWidth, | ||
| int | worldHeight | ||
| ) |
Check if SpawnCoordinateBounds is valid. Throws error if not.
| spawnCoordinateBounds | SpawnCoordinateBounds |
| worldWidth | in tiles |
| worldHeight | in tiles |
