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

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