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