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