public BlackjackGame() { Players = new List <Player>(); StartGameState = new CardGameStartState(); ReadyToPlayState = new ReadyToPlayState(); CardsShuffledState = new CardsShuffledState(); AntePlacedState = new AntePlacedState(); CardsDealtState = new CardsDealtState(); BetsPlacedState = new BetsPlacedState(); GameFinishedState = new CardGameFinishedState(); State = StartGameState; }
public BlackjackGame() { Players = new List<Player>(); StartGameState = new CardGameStartState(); ReadyToPlayState = new ReadyToPlayState(); CardsShuffledState = new CardsShuffledState(); AntePlacedState = new AntePlacedState(); CardsDealtState = new CardsDealtState(); BetsPlacedState = new BetsPlacedState(); GameFinishedState = new CardGameFinishedState(); State = StartGameState; }