Class AbilityTargetValidator
Validates if an entity can be targeted by an ability.
Inheritance
object
AbilityTargetValidator
Implements
Namespace: Global
Assembly: Dew.Core.dll
Syntax
[Serializable]
[InlineProperty]
public class AbilityTargetValidator : IBinaryEntityValidator
Fields
targets
Declaration
[HideLabel]
[EnumToggleButtons]
public EntityRelation targets
Field Value
| Type | Description |
|---|---|
| EntityRelation |
Methods
Evaluate(Entity, Entity)
Declaration
public bool Evaluate(Entity self, Entity target)
Parameters
| Type | Name | Description |
|---|---|---|
| Entity | self | |
| Entity | target |
Returns
| Type | Description |
|---|---|
| bool |