implemented skill system according to designdocuments

This commit is contained in:
2026-08-15 08:09:29 +02:00
parent f8def361fa
commit 063e94f6eb
95 changed files with 2924 additions and 4 deletions
@@ -0,0 +1,24 @@
using System;
namespace NightclubArcadia.Skills
{
public sealed class SeededRollSource : IRollSource
{
readonly Random _random;
public SeededRollSource(int seed)
{
_random = new Random(seed);
}
public int Roll(int sides)
{
if (sides < 1)
{
throw new ArgumentOutOfRangeException(nameof(sides));
}
return _random.Next(1, sides + 1);
}
}
}