KoogleV4/GameModel/ThrowState.cs

17 lines
429 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameModel
{
public record ThrowState(BoardState BoardState, int ThrowsPerRount, int ThrowCount)
{
public static ThrowState Create(ThrowMode throwMode, int throwsPerRount)
{
return new ThrowState(BoardState.Create(throwMode), throwsPerRount, 0);
}
}
}