mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 15:16:33 -08:00
13 lines
256 B
C#
13 lines
256 B
C#
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;
|
|
}
|