public override void Update() { controller.Update(this); if (GetTalentAtIndex(controller.CurrentIndex) != null) { UpdateTalentText(); } else { textMenu.SwitchOutString(currentCommands[controller.CurrentIndex].Description); } currentCommands = UpdateCommands(); }
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); }
public override void Draw(SpriteBatch spriteBatch) { base.Draw(spriteBatch); textMenu.SwitchOutString(currentCommands[controller.CurrentIndex].Description); textMenu.Draw(spriteBatch); }