Esempio n. 1
0
 /// <summary>
 /// Removes a Motor from the internal list of Motors.
 /// </summary>
 /// <param name="m"></param>
 protected void RemoveMotor(Motor m)
 {
     motorList.Remove(m);
 }
Esempio n. 2
0
 /// <summary>
 /// Immediately destroys the given Motor.
 /// </summary>
 /// <param name="m"></param>
 public virtual void DestroyMotor(Motor m)
 {
     RemoveMotor(m);
 }
Esempio n. 3
0
 /// <summary>
 /// Adds a Motor to the internal list of Motors.
 /// </summary>
 /// <param name="m"></param>
 protected void AddMotor(Motor m)
 {
     motorList.Add(m);
 }