mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-24 10:35:16 +00:00
34 lines
No EOL
973 B
C#
34 lines
No EOL
973 B
C#
using RhythmHeavenMania.Util;
|
|
|
|
namespace RhythmHeavenMania.Games.DJSchool
|
|
{
|
|
public class DJSchool : Minigame
|
|
{
|
|
public static DJSchool instance { get; private set; }
|
|
|
|
private void Awake()
|
|
{
|
|
instance = this;
|
|
}
|
|
|
|
public void BreakCmon(float beat)
|
|
{
|
|
MultiSound.Play(new MultiSound.Sound[]
|
|
{
|
|
new MultiSound.Sound("djSchool/breakCmon1", beat),
|
|
new MultiSound.Sound("djSchool/breakCmon2", beat + 1f),
|
|
new MultiSound.Sound("djSchool/ooh", beat + 2f),
|
|
});
|
|
}
|
|
|
|
public void ScratchoHey(float beat)
|
|
{
|
|
MultiSound.Play(new MultiSound.Sound[]
|
|
{
|
|
new MultiSound.Sound("djSchool/scratchoHey1", beat),
|
|
new MultiSound.Sound("djSchool/scratchoHey2", beat + 1f),
|
|
new MultiSound.Sound("djSchool/hey", beat + 2f),
|
|
});
|
|
}
|
|
}
|
|
} |