internal RelocatingSquadron UnsetSquadron(int id, SquadronState state)
        {
            this.Squadrons[id - 1].State = state;
            this.RaiseSquadronsUpdated();

            return(new RelocatingSquadron(this.Squadrons[id - 1], this));
        }
Ejemplo n.º 2
0
    public void SetState(SquadronState state)
    {
        //clear state
        if (currentState != null)
        {
            currentState.Clear(this);
        }

        currentState = state;
        stateString = currentState.ToString();
    }