fix: add mob spawn border

This commit is contained in:
2021-12-12 13:31:01 +01:00
parent d40ffe8f6c
commit 4611a198c9
2 changed files with 4 additions and 2 deletions

View File

@@ -14,6 +14,8 @@ private:
game::TowerID m_CurrentTowerID;
Server* m_Server;
public:
static constexpr float MobSpawnBorder = 0.01f;
ServerWorld(Server* server, ServerGame* game);
void spawnMobs(game::MobType type, std::uint8_t level, game::PlayerID sender, std::uint8_t count);