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