Ejemplo n.º 1
0
 public static void createBars(string [] Bars)
 {
     for (int i = 0; i < Bars.Length; i++)
     {
         titleBar    = new SpellBookBar(new Vector2(0, 0), "PhaseBar");
         titleBar.id = i + 4;
         currentID   = i + 4;
         setHudElementPosition(titleBar);
         titleBar.HUDText        = Bars[i];
         titleBar.InitialHUDText = Bars[i];
         hudList.Add(titleBar);
     }
 }
Ejemplo n.º 2
0
 public PhaseBarRenderer(HUDObject phaseBar)
 {
     this.phaseBar = (SpellBookBar)phaseBar;
 }