Ejemplo n.º 1
0
        void CreateFengkuangMajangGame(SpriteAtlas atlas, int idx)
        {
            Game dzmjGame = new Game(this);

            dzmjGame.CreateFengkuangMahjongGame(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);



            GameDict.Add("hall_btn_room7", dzmjGame);
        }
Ejemplo n.º 2
0
        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);
        }