Esempio n. 1
0
    public override void Enter()
    {
        base.Enter();
        Debug.Log("ChoosePawnFacingState");


        Position      = CurrentPawn.Position;
        FacingOptions = Position.Adjacent();

        Board.ActivateMovementTiles(FacingOptions);
    }
Esempio n. 2
0
    public override void Enter()
    {
        base.Enter();
        Debug.Log("MovePawnState");
        if (PointsInRange.Count == 0)
        {
            Owner.ChangeState <ChoosePawnFacingState>();
            return;
        }

        Board.ActivateMovementTiles(PointsInRange);


        //GuiController.Panel.SetActive(true);
        //GuiController.UpdatePawnPanel(CurrentPawn);
    }