Пример #1
0
 public static void AddBullet(BulletEntity obj)
 {
     _bullets.Add(obj);
 }
Пример #2
0
 public static void RemoveBullet(BulletEntity obj)
 {
     _bullets.Remove(obj);
 }
 //mehtods
 /// <summary>
 /// AddBullet, method, adds a bullet to the bullets list
 /// </summary>
 /// <param name="bullet">bullet to add</param>
 public void AddBullet(BulletEntity bullet)
 {
     _bullets.Add(bullet);
 }
 public static void RemoveBullet(BulletEntity obj)
 {
     _bullets.Remove(obj);
 }
 public static void AddBullet(BulletEntity obj)
 {
     _bullets.Add(obj);
 }
Пример #6
0
 //mehtods
 /// <summary>
 /// AddBullet, method, adds a bullet to the bullets list
 /// </summary>
 /// <param name="bullet">bullet to add</param>
 public void AddBullet(BulletEntity bullet)
 {
     _bullets.Add(bullet);
 }