Example #1
0
 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);
 }
Example #2
0
 public BaseGripperUnit(IActor actor)
 {
     this.actor = actor;
     rules      = Compatibility.Check <TRules>(this, actor.Rules);
 }
Example #3
0
 public SimpleMovementUnit(IActor actor)
 {
     this.actor = actor;
     rules      = Compatibility.Check <ISimpleMovementRules>(this, actor.Rules);
     actor.World.Clocks.AddTrigger(new TimerTrigger(ApplyCommand, commandRenewmentRate));
 }
Example #4
0
 public virtual void Initialize(IActor actor)
 {
     Actor = Compatibility.Check <TActor>(this, actor);
 }