Code cleanup.

This commit is contained in:
2022-12-22 14:02:58 +08:00
parent da2313ab57
commit 451ebbe91a
3 changed files with 7 additions and 9 deletions

View File

@@ -11,11 +11,10 @@ namespace Cryville.Crtr {
readonly GroupHandler gh;
public readonly Chart.Note Event;
readonly PdtRuleset ruleset;
public NoteHandler(GroupHandler gh, Chart.Note ev, PdtRuleset rs, Judge j) : base() {
public NoteHandler(GroupHandler gh, Chart.Note ev, PdtRuleset rs) : base() {
this.gh = gh;
Event = ev;
ruleset = rs;
judge = j;
}
public override string TypeName {
@@ -43,8 +42,7 @@ namespace Cryville.Crtr {
base.Awake(s);
if (s.CloneType == 2) {
if (!gogroup) return;
Chart.Note tev = Event;
if (tev.IsLong) {
if (Event.IsLong) {
foreach (var i in sgos) {
i.Reset();
i.AppendPoint(Position, Rotation);