RunicBoard.RemoveAllRunes C# (CSharp) Method

RemoveAllRunes() public method

Remove all runes from the runic board and put them back in the hand.
public RemoveAllRunes ( ) : void
return void
    public void RemoveAllRunes()
    {
        foreach(KeyValuePair<int, Rune> kvp in _runesOnBoard)
        {
            Rune rune = kvp.Value;
            rune.PositionOnBoard = -1;
            _runesInHand.Add(rune.PositionInHand, rune);
        }

        //ClientManager.GetInstance()._client.CurrentCharacter.CurrentActionPoints += _runesOnBoard.Count;

        _runesOnBoard.Clear();

        SecondPlaced = -1;
    }