57 lines
1.5 KiB
C#
57 lines
1.5 KiB
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using Ichni.RhythmGame.Beatmap;
|
|
using UnityEngine;
|
|
|
|
namespace Ichni.RhythmGame
|
|
{
|
|
public class NoteJudgeSubmodule : SubmoduleBase
|
|
{
|
|
public List<NoteJudgeUnit> judgeUnitList;
|
|
|
|
public NoteJudgeSubmodule(NoteBase attachedGameElement) : base(attachedGameElement)
|
|
{
|
|
|
|
}
|
|
|
|
public override void SaveBM()
|
|
{
|
|
matchedBM = new NoteJudgeSubmodule_BM(attachedGameElement);
|
|
}
|
|
}
|
|
|
|
namespace Beatmap
|
|
{
|
|
public class NoteJudgeSubmodule_BM : Submodule_BM
|
|
{
|
|
public List<NoteJudgeUnit> judgeUnitList;
|
|
|
|
public NoteJudgeSubmodule_BM()
|
|
{
|
|
|
|
}
|
|
|
|
public NoteJudgeSubmodule_BM(GameElement attachedElement) : base(attachedElement)
|
|
{
|
|
judgeUnitList = new List<NoteJudgeUnit>();
|
|
}
|
|
|
|
public override void ExecuteBM()
|
|
{
|
|
attachedElement = GameElement_BM.GetElement(attachedElementGuid);
|
|
//(attachedElement as NoteElement).noteJudgeSubmodule = new NoteJudgeSubmodule(attachedElement);
|
|
}
|
|
|
|
public override void DuplicateBM(GameElement attached)
|
|
{
|
|
//(attached as NoteElement).noteJudgeSubmodule = new NoteJudgeSubmodule(attached);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class NoteJudgeUnit
|
|
{
|
|
|
|
}
|
|
} |