示例#1
0
    public void Update()
    {
        switch (state)
        {
        case InterfaceState.BusyWithSelection:
        {
            if (pendingResult.IsReadyOrCancelled())
            {
                pendingResult = null;
                activeSelection.Cleanup();
                activeSelection = null;
                state           = InterfaceState.Idle;
            }
        }; break;
        }

        if (activeCardRenderer != null)
        {
            activeCardRenderer.UpdateDescription(); //ABSOLUTELY DON'T DO THIS EVERY TURN
        }
    }