C# Class HexCasters.Core.Actions.ActionTargetFilter

The component of the action which dictates which cells can be targeted.
Inheritance: MonoBehaviour
Show file Open project: FellowshipOfTheGame/Hexes-of-Mortvell

Public Methods

Method Description
ValidTargets ( BoardCellContent actor, IEnumerable partialTargets ) : IEnumerable

Returns which cells can be used as targets.

Method Details

ValidTargets() public abstract method

Returns which cells can be used as targets.
public abstract ValidTargets ( BoardCellContent actor, IEnumerable partialTargets ) : IEnumerable
actor BoardCellContent The entity trying to perform the action.
partialTargets IEnumerable The targets selected so far.
return IEnumerable