From b4e8ad1cd2e45879ec8c709a9ed4d5d123933182 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Fri, 27 Dec 2024 15:10:15 +0100 Subject: [PATCH] Documents BattleImpl ctor params --- PkmnLib.Dynamic/Models/Battle.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/PkmnLib.Dynamic/Models/Battle.cs b/PkmnLib.Dynamic/Models/Battle.cs index cfc3ae4..23ea685 100644 --- a/PkmnLib.Dynamic/Models/Battle.cs +++ b/PkmnLib.Dynamic/Models/Battle.cs @@ -122,6 +122,12 @@ public interface IBattle : IScriptSource public class BattleImpl : ScriptSource, IBattle { /// + /// The library the battle uses for data and dynamic handling. + /// The parties that will be in the battle. + /// Whether Pokémon are allowed to flee from the battle. + /// The number of sides in the battle. Generally 2. + /// The number of spots there are on each side for Pokémon. 1 for singles, 2 for doubles, etc. + /// The seed for the RNG. If null, this uses a time-dependent seed. public BattleImpl(IDynamicLibrary library, IReadOnlyList parties, bool canFlee, byte numberOfSides, byte positionsPerSide, int? randomSeed = null) {