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