Pull skin container and judge attachment to handler.

This commit is contained in:
2022-11-19 22:02:05 +08:00
parent 1734cf9b72
commit 75652ecff1
3 changed files with 11 additions and 7 deletions

View File

@@ -50,8 +50,6 @@ namespace Cryville.Crtr.Event {
public byte CloneType;
private ContainerState rootPrototype = null;
private ContainerState prototype = null;
public SkinContainer skinContainer;
public Judge judge;
public ContainerHandler Handler {
get;
@@ -210,8 +208,7 @@ namespace Cryville.Crtr.Event {
}
public void AttachSystems(PdtSkin skin, Judge judge) {
skinContainer = new SkinContainer(skin);
this.judge = judge;
Handler.AttachSystems(skin, judge);
}
public Vector GetRawValue(Identifier key) {