예제 #1
0
        public EscMenuScreen()
        {
            input = new Input.IHBattle();
            Point VPCenter = new Point(Main.graphics.GraphicsDevice.Viewport.Width / 2, Main.graphics.GraphicsDevice.Viewport.Height / 2);
            Point TextSize = Main.arialFont.MeasureString("Exit Game").ToPoint();

            ExitGamePanel         = new Rectangle(VPCenter.X - ((TextSize.X + 18) / 2), VPCenter.Y - ((TextSize.Y + 18) / 2), TextSize.X + 18, TextSize.Y + 18);
            drawPreviousGameState = true;
        }
예제 #2
0
 public BattleScreen()
 {
     input = new Input.IHBattle();
     drawPreviousGameState = true;
 }