/// <summary> /// Inserts the bullet to the SolarSystem. /// </summary> /// <param name="bullet">The inserting bullet.</param> public void AddIBullet(IBullet bullet) { if (!bulletDict.ContainsKey(bullet.Name)) { bulletDict.Add(bullet.Name, bullet); bullet.ChangeVisible(active); } }
/// <summary> /// Inserts the bullet to the SolarSystem. /// </summary> /// <param name="bullet">The inserting bullet.</param> public void AddIBullet(IBullet bullet) { if (!bulletDict.ContainsKey(bullet.Name)) { bulletDict.Add(bullet.Name, bullet); bullet.ChangeVisible(active); } }