private void CheckKeyboard()
        {
            if (Global.KeyboardState.IsKeyReleased(Keys.F5))
            {
                Settings.ToggleFullScreen();
            }

            if (Global.KeyboardState.IsKeyPressed(Keys.Up))
            {
                Program.World.Player.MoveBy(new Point(0, -1));
                MapWindow.CenterOnActor(Program.World.Player);
            }

            if (Global.KeyboardState.IsKeyPressed(Keys.Down))
            {
                Program.World.Player.MoveBy(new Point(0, 1));
                MapWindow.CenterOnActor(Program.World.Player);
            }

            if (Global.KeyboardState.IsKeyPressed(Keys.Left))
            {
                Program.World.Player.MoveBy(new Point(-1, 0));
                MapWindow.CenterOnActor(Program.World.Player);
            }

            if (Global.KeyboardState.IsKeyPressed(Keys.Right))
            {
                Program.World.Player.MoveBy(new Point(1, 0));
                MapWindow.CenterOnActor(Program.World.Player);
            }
        }
 public void CreateMapWindow(int width, int height, string title)
 {
     MapWindow = new MapWindow(width, height, title);
     Children.Add(MapWindow);
 }