Example #1
0
 void init()
 {
     fileMgr = new fileManager();
     menus   = new MenuMgr(fileMgr);
 }
Example #2
0
        fileManager fileMgr;        //needed so menus can access the game data

        public MenuMgr(fileManager fm)
        {
            fileMgr = fm;
        }