Example #1
0
 public void AddHaltable(IHaltable haltable)
 {
     if (_haltables.Contains(haltable))
     {
         throw new ArgumentException("Haltable object has already been added.", nameof(haltable));
     }
     _haltables.Add(haltable);
 }
Example #2
0
 public FollowPathAnimation(IHaltable parent)
 {
     _parent = parent;
 }
 public FollowPathAnimation(IHaltable parent)
 {
     _parent = parent;
 }
Example #4
0
 public MoveableHalt(IHaltable haltable)
 {
     _haltable = haltable;
 }
Example #5
0
 public void AddHaltable(IHaltable haltable)
 {
     _haltables.Add(haltable);
 }