Example #1
0
 private void RunGame(RunGameMsg msg)
 {
     if (msg.menu == GameType.AlongGame)
     {
         IContent.RequestContentEnter <AloneGameContent>();
     }
     else if (msg.menu == GameType.AlongGame)
     {
         IContent.RequestContentEnter <RhythmGameContent>();
     }
 }
Example #2
0
        private void RunGame(RunGameMsg msg)
        {
            if (msg.menu == GameType.AlongGame)
            {
                IContent.RequestContentEnter <AloneGameContent>();
            }
            else if (msg.menu == GameType.RhythmGame)
            {
                IContent.RequestContentEnter <RhythmGameContent>();
                Message.Send <RhythmGameBluetoothSelectMsg>(new RhythmGameBluetoothSelectMsg(false));
            }

            if (settingModel.IsBluetoothConnet)
            {
                AndroidTrasferMgr.Instance.BluetoothSendMsg(msg.menu.ToString(), SENDMSGTYPE.GAME);
            }
        }