Exemplo n.º 1
0
 public void SetSong(osu.SongData songdata)
 {
     m_songData = songdata;
     m_hasBeenActed.Clear();
     m_actors.Clear();
     for (int i = 0; i < m_songData.HitObjects.Count; i++)
     {
         m_hasBeenActed.Add(false);
         m_actors.Add(osu.HitActor.GetActor(m_songData.HitObjects[i]));
     }
     m_started = false;
 }
Exemplo n.º 2
0
 // Token: 0x06002E9C RID: 11932
 // RVA: 0x0012F180 File Offset: 0x0012D380
 internal static osu.Graphics.Primitives.RectangleF smethod_16(osu.Graphics.Primitives.RectangleF rectangleF_0, osu.Graphics.Primitives.RectangleF rectangleF_1, double double_0, double double_1, float float_0, Enum70 enum70_0)
 {
     float num = (float)(double_0 - double_1);
     float num2 = (float)((double)float_0 - double_1);
     if (num2 != 0f)
     {
         if (num != 0f)
         {
             return new osu.Graphics.Primitives.RectangleF((float)Class778.smethod_17(enum70_0, (double)num, (double)rectangleF_0.X, (double)(rectangleF_1.X - rectangleF_0.X), (double)num2), (float)Class778.smethod_17(enum70_0, (double)num, (double)rectangleF_0.Y, (double)(rectangleF_1.Y - rectangleF_0.Y), (double)num2), (float)Class778.smethod_17(enum70_0, (double)num, (double)rectangleF_0.Width, (double)(rectangleF_1.Width - rectangleF_0.Width), (double)num2), (float)Class778.smethod_17(enum70_0, (double)num, (double)rectangleF_0.Height, (double)(rectangleF_1.Height - rectangleF_0.Height), (double)num2));
         }
     }
     return rectangleF_0;
 }
Exemplo n.º 3
0
 public ActBeatCircle(osu.HitObject.Data data)
 {
     m_data = data;
 }