Cleanups PolymorphSystem/Components/Prototypes (#23721)

* Cleanups PolymorphSystem

* forgot this

* Nah

* Fix test

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
AJCM-git
2024-02-01 08:17:02 -04:00
committed by GitHub
parent c0227bcb3b
commit b8f0ed3975
17 changed files with 714 additions and 724 deletions

View File

@@ -9,6 +9,11 @@ public sealed partial class PolymorphActionEvent : InstantActionEvent
/// the specific polymorph.
/// </summary>
public PolymorphPrototype Prototype = default!;
public PolymorphActionEvent(PolymorphPrototype prototype) : this()
{
Prototype = prototype;
}
}
public sealed partial class RevertPolymorphActionEvent : InstantActionEvent