Farkle.Core.FarkleService.StartNewGame C# (CSharp) Method

StartNewGame() public method

public StartNewGame ( GameSetup setup ) : GameState
setup GameSetup
return GameState
        public GameState StartNewGame(GameSetup setup)
        {
            return new GameState();
        }

Usage Example

Exemplo n.º 1
0
 public ActionResult NewGame(GameSetup setup)
 {
     var service = new FarkleService();
     var gameState = service.StartNewGame(setup);
     //return View("Play", gameState);
     return null;
 }