Implement coevent. (2)

This commit is contained in:
2023-01-13 16:37:31 +08:00
parent 555c88855c
commit 6efe70d751
4 changed files with 35 additions and 15 deletions

View File

@@ -9,6 +9,7 @@ namespace Cryville.Crtr.Event {
public class ContainerState {
public EventBus Bus;
public EventContainer Container;
public StampedEvent StampedContainer;
public ContainerState Parent = null;
public ushort Depth;
@@ -38,6 +39,7 @@ namespace Cryville.Crtr.Event {
InvalidatedChildren.Clear();
}
public bool Active { get; set; }
private bool m_Working;
public bool Working {
get { return m_Working; }