示例#1
0
 public Draw(Turn parent)
     : base(RequestType.Draw, parent.RequestedPlayer)
 {
 }
示例#2
0
 public Discard(Turn parent)
     : base(RequestType.DiscardCard, parent.RequestedPlayer)
 {
 }
示例#3
0
 protected override void OnNext()
 {
     Player last = parent.CurrentPlayer;
     last.OnTurnEnded();
     parent.NextPlayer();
     Game.Session.EventManager.OnPlayerEndedTurn(last);
     if(parent.CurrentPlayer.BeginsRound)
     {
         End();
         return;
     }
     turn = new Turn(this, parent.CurrentPlayer);
     PushHandler(turn);
 }
示例#4
0
 protected override void OnStart()
 {
     turn = new Turn(this, parent.CurrentPlayer);
     PushHandler(turn);
 }
示例#5
0
 public Play(Turn parent)
     : base(RequestType.Play, parent.RequestedPlayer)
 {
 }