예제 #1
0
 public CharacterInfoState(BoardManager boardManager, Actor actor)
     : base(boardManager)
 {
     //infopanel = boardManager.ui.characterInfoPanel;
     currentActor = actor;
     infopanel    = boardManager.ui.inBattleCharacterInfoPanel;
 }
예제 #2
0
    public UsersTurnState(BoardManager boardManager)
        : base(boardManager)
    {
        if (boardManager.Selector == null)
        {
            boardManager.Selector = new Selector(boardManager);
        }

        selector = boardManager.Selector;

        pathfindingBoard = boardManager.pathfinding;
        turnManager      = boardManager.turnManager;

        pane         = boardManager.ui.hotbarPanel;
        infopanel    = boardManager.ui.characterInfoPanel;
        currentActor = turnManager.currFastest;
    }