public DWMUnit(IActor actor) { this.actor = Compatibility.Check <IDWMRobot>(this, actor); actor.World.Clocks.AddTrigger(new TimerTrigger(UpdateSpeed, TriggerFrequency)); rules = Compatibility.Check <IDWMRules>(this, actor.Rules); }
public BaseGripperUnit(IActor actor) { this.actor = actor; rules = Compatibility.Check <TRules>(this, actor.Rules); }
public SimpleMovementUnit(IActor actor) { this.actor = actor; rules = Compatibility.Check <ISimpleMovementRules>(this, actor.Rules); actor.World.Clocks.AddTrigger(new TimerTrigger(ApplyCommand, commandRenewmentRate)); }
public virtual void Initialize(IActor actor) { Actor = Compatibility.Check <TActor>(this, actor); }