Пример #1
0
 public void turn(Table.Turn turn)
 {
     Debug.Log("turn的回合");
     if (turn.id == MainRole.Instance.Id)
     {
         EventDispatcher.Instance.Dispatch(GameEventConst.TURN_TO, true, turn.id);
     }
     else
     {
         EventDispatcher.Instance.Dispatch(GameEventConst.TURN_TO, false, turn.id);
     }
 }
Пример #2
0
 public static void Turn()
 {
     Table.Turn turn = new Table.Turn();
     NetClient.Instance().WriteMsg("Table.Turn", turn);
 }