Пример #1
0
    private void Start()
    {
        IdentifyHexes();
        AvailablePosition hero       = FindObjectOfType <AvailablePosition>();
        IAdjacentFinder   adjFinder  = new PositionsForFlying();
        BattleHex         startigHex = hero.GetComponentInParent <BattleHex>();
        int stepsLimit = BattleController.currentAtacker.velocity;

        startigHex.DefineAsStartingHex();
        hero.GetAvailablePositions(hero.GetComponentInParent <BattleHex>(), stepsLimit, adjFinder);
    }