public HearthInternalStateGameInProgress(HearthstoneEventObserver eventObserver) : base(eventObserver) { this.factory = eventObserver.factory; eventObserver.Observe(new NewGame(eventObserver.currentGame)); }
public HearthInternalStateOff(HearthstoneEventObserver eventObserver, bool? weWon = null) : base(eventObserver) { eventObserver.Observe(new EndOfGame(eventObserver.currentGame, weWon)); }
public HearthInternalStateGameInProgress(HearthstoneEventObserver eventObserver) : base(eventObserver) { this.factory = eventObserver.factory; eventObserver.Observe(new NewGame(eventObserver.currentGame)); }
public HearthInternalStateOff(HearthstoneEventObserver eventObserver, bool?weWon = null) : base(eventObserver) { eventObserver.Observe(new EndOfGame(eventObserver.currentGame, weWon)); }