Ejemplo n.º 1
0
 public override void Update()
 {
     controller.Update(this);
     if (GetTalentAtIndex(controller.CurrentIndex) != null)
     {
         UpdateTalentText();
     }
     else
     {
         textMenu.SwitchOutString(currentCommands[controller.CurrentIndex].Description);
     }
     currentCommands = UpdateCommands();
 }
Ejemplo n.º 2
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     base.DrawWithOffset(spriteBatch, new Vector2(20, 35));
     spriteBatch.DrawString(font, "Current Weapons: ", this.Location, Color.White);
     textMenu.SwitchOutString(currentCommands[controller.CurrentIndex].Description);
     textMenu.Draw(spriteBatch);
 }
Ejemplo n.º 3
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     base.Draw(spriteBatch);
     textMenu.SwitchOutString(currentCommands[controller.CurrentIndex].Description);
     textMenu.Draw(spriteBatch);
 }