Exemple #1
0
    void stepBack()
    {
//		Debug.Log ("Step back");
        counter--;
        mapStates.RemoveAt(mapStates.Count - 1);
        if (mapStates.Count == 0)
        {
            throw new Exception("Could not find acceptable map setup for given inputs");
        }
        actualState = mapStates [mapStates.Count - 1];
        actualState.ReAddLastDoor();
    }