Class ActionContext
Namespace: DiceRolling.Actions
Assembly: dice-rolling.dll
Concrete implementation of IActionContext, holding the attacker and target for an action execution.
public class ActionContext : IActionContext
Inheritance
Implements
Inherited Members
Show/Hide Inherited Members
Constructors
ActionContext(CharacterType, CharacterType?)
public ActionContext(CharacterType attacker, CharacterType? target)
Parameters
attacker
CharacterType
target
CharacterType?
Properties
Attacker
public CharacterType Attacker { get; }
Property Value
Target
public CharacterType? Target { get; }