예제 #1
0
        public GuiPause(Game1 game)
        {
            this.game = game;
            this.bounds = new Rectangle(0, 0, 1280, 720);
            this.active = false;

            reallyExit = new GuiConfirm(new Rectangle((int)center.X - 256, (int)center.Y - 256, 512, 512), new string[] { "Are you sure you want to exit?", "Yes", "No"});
        }
예제 #2
0
        public GuiPause(Game1 game)
        {
            this.game   = game;
            this.bounds = new Rectangle(0, 0, 1280, 720);
            this.active = false;

            reallyExit = new GuiConfirm(new Rectangle((int)center.X - 256, (int)center.Y - 256, 512, 512), new string[] { "Are you sure you want to exit?", "Yes", "No" });
        }