Go to the documentation of this file.
36 void setName(
const std::string& name) { m_name = name; }
61 void clear() { m_towns.clear(); m_nullTown =
nullptr; }
void removeTown(uint32 townId)
TownList::iterator findTown(uint32 townId)
void setPos(const Position &pos)
const TownPtr & getTownByName(std::string name)
const TownPtr & getTown(uint32 townId)
std::list< TownPtr > TownList
void addTown(const TownPtr &town)
LuaObject, all script-able classes have it as base.
void setName(const std::string &name)