public void CloseMenuScreen(MenuScreen menuscreen) // close menu function
 {
     menuscreen.CloseMenuScreen();
 }