Пример #1
0
        public NoteData Clone()
        {
            var newData = new NoteData(id, size, time, speed, startLine, endLine, type, flick, color, new List <int>());

            for (int i = 0; i < prevIds.Count; i++)
            {
                newData.prevIds.Add(prevIds[i]);
            }
            return(newData);
        }
Пример #2
0
 public void AppendNoteData(NoteData newData, NoteType targetType)
 {
     data      = newData.Clone();
     data.type = targetType;
 }
Пример #3
0
 public virtual void AddScore(NoteData data, JudgeType result)
 {
     TSystemStatic.Log("AddScore not implemented in this basis.");
 }
Пример #4
0
 public virtual void CreateNote(NoteData data)
 {
     TSystemStatic.Log("CreateNote not implemented in this basis.");
 }
Пример #5
0
 public virtual Sprite GetNoteImage(NoteData data)
 {
     TSystemStatic.Log("GetNoteImage not implemented in this basis.");
     return(null);
 }
Пример #6
0
 public virtual GameObject GetNoteTemplate(NoteData data)
 {
     TSystemStatic.Log("GetNoteObject not implemented in this basis.");
     return(null);
 }