Пример #1
0
 public void CreateTrail()
 {
     // bullet trail.
     trail = RecycleFactory.NewTrail(this, 0.8f, Constants.DamageColors[colorIndex]);
     World.Instance.AddTrail(trail);
 }
Пример #2
0
 public void AddTrail(Trail pTrail)
 {
     Trails.Add(pTrail);
     pTrail.Chain.IsVisible = true;
 }
Пример #3
0
 public static void Recycle(Trail pTrail)
 {
     pTrail.Recycle();
     freeTrails.Enqueue(pTrail);
 }
Пример #4
0
 public void CreateTrail()
 {
     // bullet trail.
     trail = RecycleFactory.NewTrail(this, 0.8f, Constants.DamageColors[colorIndex]);
     World.Instance.AddTrail(trail);
 }
Пример #5
0
 public void AddTrail(Trail pTrail)
 {
     Trails.Add(pTrail);
     pTrail.Chain.IsVisible = true;
 }
Пример #6
0
 public static void Recycle(Trail pTrail)
 {
     pTrail.Recycle();
     freeTrails.Enqueue(pTrail);
 }