Code cleanup.

This commit is contained in:
2023-01-31 15:06:31 +08:00
parent 5514b6cf37
commit 776a615464
9 changed files with 49 additions and 60 deletions

View File

@@ -7,7 +7,10 @@ using System.Globalization;
using UnityEngine;
namespace Cryville.Crtr.Event {
public abstract class ContainerHandler : IDisposable {
public abstract class ContainerHandler {
public ContainerHandler() { }
public abstract string TypeName { get; }
/// <summary>
/// Prehandling <see cref="ContainerState"/>, prehandling the events.
/// </summary>
@@ -56,10 +59,6 @@ namespace Cryville.Crtr.Event {
this.judge = judge;
}
public ContainerHandler() { }
public abstract string TypeName {
get;
}
public readonly Dictionary<int, List<Anchor>> Anchors = new Dictionary<int, List<Anchor>>();
public Anchor OpenedAnchor;
protected Anchor a_cur;