Пример #1
0
    /// <summary>
    /// Called when the end of a branch is reached.
    /// </summary>
    /// <param name="branchIndex"></param>
    private void EndReached(int branchIndex)
    {
        lastDirection = attackDirection;
        CancelGrid();

        balance.TriggerEnd(endPoints[branchIndex].typeID);
    }