Example #1
0
 /// <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);
     }
 }
Example #2
0
 /// <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);
     }
 }