public void SetPhase(BoutPhase phase)
 {
     _state.Phase = phase;
 }
 public BoutPhaseChangedEvent(BoutPhase newPhase, Guid boutId) : base(boutId)
 {
     NewPhase = newPhase;
 }
Exemple #3
0
 public InvalidBoutPhaseException(BoutPhase phase)
     : base($"Action could not be completed because bout was in phase: {phase}")
 {
     Phase = phase;
 }