2025-01-27 22:11:24 -05:00
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
2025-02-08 02:31:39 -05:00
|
|
|
using Ichni.RhythmGame.Beatmap;
|
2025-01-27 22:11:24 -05:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace Ichni.RhythmGame
|
|
|
|
|
{
|
|
|
|
|
public class NoteJudgeSubmodule : SubmoduleBase
|
|
|
|
|
{
|
2025-02-06 23:01:44 -05:00
|
|
|
public List<NoteJudgeUnit> judgeUnitList;
|
|
|
|
|
|
2025-02-08 02:31:39 -05:00
|
|
|
public NoteJudgeSubmodule(NoteBase attachedGameElement) : base(attachedGameElement)
|
2025-01-30 22:45:33 -05:00
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2025-02-06 23:01:44 -05:00
|
|
|
|
|
|
|
|
public override void SaveBM()
|
|
|
|
|
{
|
2025-02-08 02:31:39 -05:00
|
|
|
matchedBM = new NoteJudgeSubmodule_BM(attachedGameElement);
|
2025-02-06 23:01:44 -05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
namespace Beatmap
|
|
|
|
|
{
|
|
|
|
|
public class NoteJudgeSubmodule_BM : Submodule_BM
|
|
|
|
|
{
|
|
|
|
|
public List<NoteJudgeUnit> judgeUnitList;
|
|
|
|
|
|
|
|
|
|
public NoteJudgeSubmodule_BM()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-08 02:31:39 -05:00
|
|
|
public NoteJudgeSubmodule_BM(GameElement attachedElement) : base(attachedElement)
|
2025-02-06 23:01:44 -05:00
|
|
|
{
|
|
|
|
|
judgeUnitList = new List<NoteJudgeUnit>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void ExecuteBM()
|
|
|
|
|
{
|
2025-02-08 02:31:39 -05:00
|
|
|
attachedElement = GameElement_BM.GetElement(attachedElementGuid);
|
2025-02-08 23:09:50 -05:00
|
|
|
(attachedElement as NoteBase).noteJudgeSubmodule = new NoteJudgeSubmodule(attachedElement as NoteBase);
|
|
|
|
|
attachedElement.submoduleList.Add((attachedElement as NoteBase).noteJudgeSubmodule);
|
2025-02-06 23:01:44 -05:00
|
|
|
}
|
|
|
|
|
|
2025-02-08 02:31:39 -05:00
|
|
|
public override void DuplicateBM(GameElement attached)
|
2025-02-06 23:01:44 -05:00
|
|
|
{
|
2025-02-08 23:09:50 -05:00
|
|
|
(attached as NoteBase).noteJudgeSubmodule = new NoteJudgeSubmodule(attached as NoteBase);
|
|
|
|
|
attached.submoduleList.Add((attached as NoteBase).noteJudgeSubmodule);
|
2025-02-06 23:01:44 -05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-27 22:11:24 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class NoteJudgeUnit
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|