Code cleanup.
This commit is contained in:
@@ -10,11 +10,9 @@ namespace Cryville.Crtr {
|
||||
public class NoteHandler : ContainerHandler {
|
||||
readonly GroupHandler gh;
|
||||
public readonly Chart.Note Event;
|
||||
readonly PdtRuleset ruleset;
|
||||
public NoteHandler(GroupHandler gh, Chart.Note ev, PdtRuleset rs) : base() {
|
||||
this.gh = gh;
|
||||
public NoteHandler(Chart.Note ev, GroupHandler gh) : base() {
|
||||
Event = ev;
|
||||
ruleset = rs;
|
||||
this.gh = gh;
|
||||
}
|
||||
|
||||
public override string TypeName {
|
||||
@@ -46,8 +44,8 @@ namespace Cryville.Crtr {
|
||||
base.PreInit();
|
||||
foreach (var j in Event.judges) {
|
||||
judges.Add(j, new JudgeState(this, j.Id.Key));
|
||||
}
|
||||
}
|
||||
}
|
||||
public override void Init() {
|
||||
base.Init();
|
||||
sgos = gogroup.GetComponentsInChildren<SectionalGameObject>();
|
||||
|
Reference in New Issue
Block a user