Example #1
0
        public Battle(BattleInfo info, SpriteFont font)
        {
            _BattleInfo = info;
            _BattleState = BattleStatus.Intro;
            _BattleHUD = new BattleHUD(this, font);

            //Initialize the Events.
            BattleStateChange += new BattleEventHandler(OnBattleStateChange);
            BattleStateChange(this);
        }
 /// <summary>
 /// Constructs a new menu entry with the specified text.
 /// </summary>
 public BattleMenuSelectEntry(Battle.BattleHUD battleHUD, string text, Vector2 position)
 {
     this._BattleHUD = battleHUD;
     this.text = text;
     this.position = position;
 }