public void Remove(Rocket.Rocket rocket) { ScreenObjects.Remove(rocket); Rockets.Remove(rocket); if (rocket == MainObject) { MainObject = Rocket.Rocket.getEmptyRocket(); } }
public void Add(Rocket.Rocket rocket) { ScreenObjects.Add(rocket); Rockets.Add(rocket); MainObject = rocket; }
public void Remove(Rocket.Rocket rocket) { ScreenObjects.Remove(rocket); Rockets.Remove(rocket); }