public void cont()
        {
            Graven tempGraven = guiComponent.tileEngine as Graven;

            tempGraven.setWorld(null);
            (tempGraven.world as GameWorld).player.respawn();
        }
        public void newGame()
        {
            //Send to main menu
            Graven tempGraven = guiComponent.tileEngine as Graven;

            tempGraven.killWorld();
            tempGraven.OnMain();
        }
        private void quit()
        {
            location = new Vector2(0, guiComponent.graphics.camera.screenHeight / guiComponent.graphics.camera.scale);

            //Send to main menu
            Graven tempGraven = guiComponent.tileEngine as Graven;

            //tempGraven.killWorld();
            tempGraven.OnMain();
        }
 public GamePhysics(MirrorEngine theEngine)
     : base(theEngine)
 {
     game = theEngine as Graven;
 }