コード例 #1
0
ファイル: App.cs プロジェクト: cymheart/3DMahjong
        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);
        }
コード例 #2
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);
        }