Split out play resolution

This commit is contained in:
Andrew Cooper
2022-03-30 16:50:48 +11:00
parent 741b135d99
commit 1ba6dd48aa
5 changed files with 252 additions and 214 deletions

View File

@@ -0,0 +1,12 @@
namespace Basketball;
internal class Defense
{
private float _value;
public Defense(float value) => Set(value);
public void Set(float value) => _value = value;
public static implicit operator float(Defense defense) => defense._value;
}