Use PCGRandom instead of System.Random, documentation

This commit is contained in:
2024-07-28 12:29:47 +02:00
parent 7c0bd879b8
commit 5d6149b18b
7 changed files with 43 additions and 7 deletions

View File

@@ -33,8 +33,13 @@ public interface IDynamicLibrary
IMiscLibrary MiscLibrary { get; }
}
/// <inheritdoc />
public class DynamicLibraryImpl : IDynamicLibrary
{
/// <summary>
/// Initializes a new instance of the <see cref="DynamicLibraryImpl"/> class, with the given
/// plugins and static library.
/// </summary>
public static IDynamicLibrary Create(IStaticLibrary staticLibrary, IEnumerable<Plugin> plugins)
{
var registry = new ScriptRegistry();

View File

@@ -4,6 +4,9 @@ using PkmnLib.Static;
namespace PkmnLib.Dynamic.Libraries;
/// <summary>
/// Miscellaneous handlings for battles.
/// </summary>
public interface IMiscLibrary
{
/// <summary>