31 lines
677 B
C#
31 lines
677 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Ichni.RhythmGame
|
|
{
|
|
public class BeatmapSave
|
|
{
|
|
public float accuracy;
|
|
public bool isFullCombo;
|
|
public bool isAllPerfect;
|
|
|
|
public BeatmapSave()
|
|
{
|
|
|
|
}
|
|
|
|
public BeatmapSave(float accuracy, bool isFullCombo, bool isAllPerfect)
|
|
{
|
|
this.accuracy = accuracy;
|
|
this.isFullCombo = isFullCombo;
|
|
this.isAllPerfect = isAllPerfect;
|
|
}
|
|
|
|
public bool IsEmpty()
|
|
{
|
|
return accuracy == 0f && !isFullCombo && !isAllPerfect;
|
|
}
|
|
}
|
|
}
|