Exemplo n.º 1
0
 /// <summary>
 /// Renders shields as big 'O'
 /// </summary>
 public void Render(IEnumerable <Engine.ShieldPickup> pickups, ITextRenderer text)
 {
     foreach (var p in pickups)
     {
         if (p.Active)
         {
             text.DrawInWorld("O", p.pos - new Vector3(shieldDims / 2, shieldDims / 2, 0.0f), new Vector3(0.3f, 0.3f, 1.0f), shieldDims);
         }
     }
 }