18 lines
453 B
C#
18 lines
453 B
C#
using GameModel.Contracts;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GameModel
|
|
{
|
|
public record GameState(ThrowState ThrowState, int NextPlayerId, IGameModel GameModel)
|
|
{
|
|
public static GameState Create(ThrowState throwState, int nextPlayerId, IGameModel gm)
|
|
{
|
|
return new GameState(throwState, nextPlayerId, gm);
|
|
}
|
|
}
|
|
}
|