public void RemoveAllMovingBehaviours() { movingBehaviours.ForEach(MB => { SteeringBehaviors.RemoveAll(SB => SB.GetType().Equals(MB.GetType())); }); }
public void RemoveSteeringBehaviour(SteeringBehaviour type) { SteeringBehaviors.RemoveAll(SB => SB.GetType() == type.GetType()); }