Code cleanup.
This commit is contained in:
@@ -63,8 +63,8 @@ namespace Cryville.Crtr.Event {
|
||||
s = RootState;
|
||||
}
|
||||
AddState(s);
|
||||
foreach (var c in s.Children.Values)
|
||||
Expand(c);
|
||||
foreach (var c in s.Children)
|
||||
Expand(c.Value);
|
||||
}
|
||||
|
||||
public void AddState(ContainerState s) {
|
||||
@@ -73,13 +73,13 @@ namespace Cryville.Crtr.Event {
|
||||
}
|
||||
|
||||
void AttachBus() {
|
||||
foreach (var s in states.Values)
|
||||
s.Bus = this;
|
||||
foreach (var s in states)
|
||||
s.Value.Bus = this;
|
||||
}
|
||||
|
||||
public void AttachSystems(PdtSkin skin, Judge judge) {
|
||||
foreach (var s in states.Values)
|
||||
s.AttachSystems(skin, judge);
|
||||
foreach (var s in states)
|
||||
s.Value.AttachSystems(skin, judge);
|
||||
}
|
||||
|
||||
List<StampedEvent.Temporary> tempEvents = new List<StampedEvent.Temporary>();
|
||||
|
Reference in New Issue
Block a user