void init() { fileMgr = new fileManager(); menus = new MenuMgr(fileMgr); }
fileManager fileMgr; //needed so menus can access the game data public MenuMgr(fileManager fm) { fileMgr = fm; }