예제 #1
0
파일: App.cs 프로젝트: cymheart/3DMahjong
        void CreateXueZhanMajangGame(SpriteAtlas atlas, int idx)
        {
            Game dzmjGame = new Game(this);

            dzmjGame.CreateXuezhangMahjongGame(atlas);

            DazhongMahjongGameSetting setting = new DazhongMahjongGameSetting(this);

            setting.atlas = atlas;
            setting.CreatePingMinRoom();
            dzmjGame.AppendSetting(setting);


            setting       = new DazhongMahjongGameSetting(this);
            setting.atlas = atlas;
            setting.CreateWenRenRoom();
            dzmjGame.AppendSetting(setting);


            setting       = new DazhongMahjongGameSetting(this);
            setting.atlas = atlas;
            setting.CreateFuHaoRoom();
            dzmjGame.AppendSetting(setting);


            setting       = new DazhongMahjongGameSetting(this);
            setting.atlas = atlas;
            setting.CreateDaGuanRoom();
            dzmjGame.AppendSetting(setting);


            setting       = new DazhongMahjongGameSetting(this);
            setting.atlas = atlas;
            setting.CreateZhiZunRoom();
            dzmjGame.AppendSetting(setting);

            curtGames[idx] = dzmjGame;
            GameDict.Add("hall_btn_room2", dzmjGame);
        }