void Transport::BuildStopMovePacket(Map const* targetMap) { RemoveFlag(GAMEOBJECT_FLAGS, GO_FLAG_IN_USE); SetGoState(GO_STATE_READY); SetStopped(true); UpdateForMap(targetMap); }
void Transport::BuildStartMovePacket(Map const* targetMap) { SetFlag(GAMEOBJECT_FLAGS, GO_FLAG_IN_USE); SetGoState(GO_STATE_ACTIVE); SetStopped(false); UpdateForMap(targetMap); }
/// Stops the timers void Stop() { m_timeout.cancel(); SetStopped(true); };