Example #1
0
 public void StoneSet_GetData(OmSendDataFormat data)
 {
     _NowTargetPos_X = int.Parse(data.setblockx);
     _NowTargetPos_Y = int.Parse(data.setblocky);
     _GameMng.UseStone().InitOm(!_GameMng.ImBlack(), _NowTargetPos_X, _NowTargetPos_Y);
     _Board[_NowTargetPos_Y, _NowTargetPos_X] = _GameMng.GetEnemyBlockNumber();
     _GameMng.TurnChange();
     _SoundMng.EffectSoundPlay("setstone");
     _ClientMng.SendDataToServer("getdataoknormal");
     _SpareStoneCount_Enemy--;
 }