public enum JudgeType
{
    Perfect = 100,
    Hit = 10,
    Miss = 0,
    Ignore = -1 // the note is too far
}

public enum HitType
{
    Hit = 100,
    Near = 10,
    Miss = 0
}

public struct JudgeResult
{
    public JudgeType type;
    public bool correctHand;
    public bool near;

    public JudgeResult(JudgeType type)
    {
        this.type = type;
        correctHand = false;
        near = false;
    }
}