public clOHHB_V23(Omatsuri omatsuri, ZZ ZZ)
    {
        this.omatsuri = omatsuri;
        this.ZZ = ZZ;

        loadRAM();
    }
示例#2
0
    public Mobile()
    {
        gameManager = new GameManager(this);
        GameManager = gameManager;
        mOmatsuri = new Omatsuri();
        slotInterface = new SlotInterface(this, mOmatsuri, gameManager);
        ZZ = new ZZ();
        //ZZ.setThreadSpeed(1);
        ZZ.setThreadSpeed(20);
        v23 = new clOHHB_V23(mOmatsuri, ZZ);
        ZZ.SetV23(v23);
        ZZ.SetGameManager(gameManager);

        mOmatsuri.SetSlotInterface(slotInterface);
        mOmatsuri.SetclOHHB_V23(v23);
        mOmatsuri.SetMobile(this);
        mOmatsuri.SetZZ(ZZ);
        mOmatsuri.SetGameManager(gameManager);

        int_m_value[Defines.DEF_INT_MODE_REQUEST] = Defines.DEF_MODE_UNDEF;
        int_m_value[Defines.DEF_INT_MODE_CURRENT] = Defines.DEF_MODE_UNDEF;
        int_m_value[Defines.DEF_INT_BASE_OFFSET_X] = (ZZ.getWidth() - Defines.DEF_POS_WIDTH);
        int_m_value[Defines.DEF_INT_BASE_OFFSET_Y] = (ZZ.getHeight() - Defines.DEF_POS_HEIGHT);
        ZZ.setOrigin(int_m_value[Defines.DEF_INT_BASE_OFFSET_X], int_m_value[Defines.DEF_INT_BASE_OFFSET_Y]);
        int_m_value[Defines.DEF_INT_TITLE_BG_START] = ZZ.getBitRandom(32);
        int_m_value[Defines.DEF_INT_GMODE] = Defines.DEF_GMODE_GAME;
        int_m_value[Defines.DEF_INT_SETUP_VALUE_CURSOL] = 3;    // 設定4
        setSetUpValue(3);	// 設定4
        int_m_value[Defines.DEF_INT_SUB_MENU_ITEM] = -1; // 選択メニューアイテムの初期化
        int_m_value[Defines.DEF_INT_IS_SOUND] = 1;  // 音鳴るよ

        initConfig();
    }
 /// <summary>
 /// コンストラクタ
 /// </summary>
 /// <param name="mobile"></param>
 public SlotInterface( Mobile mobile, Omatsuri omatsuri, GameManager GameManager )
 {
     this.mobile = mobile;
     this.omatsuri = omatsuri;
     this.GameManager = GameManager;
 }