private void CreateStates() { var gameState = stateMapper.Map(view.gameStateModel); gameController.CreateGameState(gameState); gameController.CreatePlayerState(view.playerStateModel.Number, view.playerStateModel.Name); }
private void CreateStates(GameStateModel gameModel, PlayerStateModel playerModel) { var gameState = _stateMapper.Map(gameModel); _controller.CreateGameState(gameState); _controller.CreatePlayerState(playerModel.Number, playerModel.Name); var state = _controller.GetGameState(); }