Exemplo n.º 1
0
 public Draw(Turn parent)
     : base(RequestType.Draw, parent.RequestedPlayer)
 {
 }
Exemplo n.º 2
0
 public Discard(Turn parent)
     : base(RequestType.DiscardCard, parent.RequestedPlayer)
 {
 }
Exemplo n.º 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);
 }
Exemplo n.º 4
0
 protected override void OnStart()
 {
     turn = new Turn(this, parent.CurrentPlayer);
     PushHandler(turn);
 }
Exemplo n.º 5
0
 public Play(Turn parent)
     : base(RequestType.Play, parent.RequestedPlayer)
 {
 }