Ejemplo n.º 1
0
void Transport::BuildStartMovePacket(Map const* targetMap)
{
    SetFlag(GAMEOBJECT_FLAGS, GO_FLAG_IN_USE);
    SetGoState(GO_STATE_ACTIVE);
    UpdateForMap(targetMap);
}
Ejemplo n.º 2
0
void Transport::BuildStopMovePacket(Map const* targetMap)
{
    RemoveFlag(GAMEOBJECT_FLAGS, GO_FLAG_IN_USE);
    SetGoState(GO_STATE_READY);
    UpdateForMap(targetMap);
}
Ejemplo n.º 3
0
void Transport::BuildWaitMovePacket(Map const* targetMap)
{
    m_WayPoints.clear();
    SetGoState(GO_STATE_READY);
    UpdateForMap(targetMap);
}