Beispiel #1
0
    void Change_State()
    {
        switch (State)
        {
        case Game_State.Game_Bagin:
            break;

        case Game_State.Game_Level:
            break;

        case Game_State.Game_Stop:
            break;

        case Game_State.Game_Over:
            break;

        case Game_State.Game_Player:
            int temp = player.ChoosePerson();
            preState = Game_State.Game_Player;
            player.changestate();
            break;

        case Game_State.Game_Enemy:
            preState = Game_State.Game_Enemy;
            AI.change_state();
            break;

        case Game_State.Game_Supply:
            //supply.XXXXX
            break;
        }
    }