HeavenStudioPlus/Assets/Scripts/Beatmap.cs

28 lines
586 B
C#
Raw Normal View History

2021-12-23 00:08:35 +00:00
using System;
2021-12-22 00:42:01 +00:00
using System.Collections.Generic;
2021-12-23 00:08:35 +00:00
namespace RhythmHeavenMania
2021-12-22 00:42:01 +00:00
{
2021-12-23 00:08:35 +00:00
[Serializable]
public class Beatmap
2021-12-22 00:42:01 +00:00
{
2021-12-23 02:28:05 +00:00
public float bpm;
2021-12-23 00:08:35 +00:00
public List<Entity> entities;
2021-12-22 00:42:01 +00:00
2021-12-23 00:08:35 +00:00
[Serializable]
public class Entity : ICloneable
{
public float beat;
public int track;
2021-12-23 02:28:05 +00:00
public float length;
public float valA;
2021-12-26 07:25:17 +00:00
public int type;
2021-12-23 00:08:35 +00:00
public string datamodel;
public object Clone()
{
return this.MemberwiseClone();
}
}
2021-12-22 00:42:01 +00:00
}
2021-12-23 00:08:35 +00:00
}