Spawns: add function to find a spawn to place a creature on

This commit is contained in:
Ahmed Samy
2013-12-04 14:29:23 +02:00
parent f615b80fbc
commit b9b9a32b83
3 changed files with 16 additions and 0 deletions

View File

@@ -121,6 +121,7 @@ public:
const CreatureTypePtr& getCreatureByLook(int look);
SpawnPtr getSpawn(const Position& centerPos);
SpawnPtr getSpawnForPlacePos(const Position& pos);
SpawnPtr addSpawn(const Position& centerPos, int radius);
bool isLoaded() { return m_loaded; }