示例#1
0
    void StartOrderPhase()
    {
        playerOrders.Clear();
        enemyOrders.Clear();

        uiManager.UpdateOrders(playerOrders);
        uiManager.UpdateFightIndicator(-0.5f);

        usedItem = false;

        phase = Phase.Orders;

        // Activate UI for order placement
        uiManager.ShowOrderPhaseWindow(true);
        uiManager.ShowItemsWindow(turn > 0);

        for (int i = 0; i < orderSize; i++)
        {
            enemyOrders.Add((Order)Random.Range(1, 2));
        }
    }