コード例 #1
0
void Transport::BuildStartMovePacket(Map const* targetMap)
{
    SetFlag(GAMEOBJECT_FLAGS, GO_FLAG_IN_USE);
    SetGoState(GO_STATE_ACTIVE);
    UpdateForMap(targetMap);
}
コード例 #2
0
void Transport::BuildStopMovePacket(Map const* targetMap)
{
    RemoveFlag(GAMEOBJECT_FLAGS, GO_FLAG_IN_USE);
    SetGoState(GO_STATE_READY);
    UpdateForMap(targetMap);
}
コード例 #3
0
ファイル: Transport.cpp プロジェクト: Fordman/GunshipCore
void Transport::BuildWaitMovePacket(Map const* targetMap)
{
    m_WayPoints.clear();
    SetGoState(GO_STATE_READY);
    UpdateForMap(targetMap);
}