Exemple #1
0
        private ManiaBaseHit convertForMania(HitObject input)
        {
            ManiaBaseHit h = input as ManiaBaseHit;

            if (h == null)
            {
                OsuBaseHit o = input as OsuBaseHit;

                if (o == null)
                {
                    throw new Exception(@"Can't convert!");
                }

                h = new Note()
                {
                    StartTime = o.StartTime,
                    Column    = (int)Math.Round(o.Position.X / 512 * columns)
                };
            }

            return(h);
        }
Exemple #2
0
 public DrawableNote(ManiaBaseHit note)
 {
     this.note = note;
     Origin    = Anchor.Centre;
     Scale     = new Vector2(0.1f);
 }
Exemple #3
0
 public DrawableNote(ManiaBaseHit note)
 {
     this.note = note;
     Origin = Anchor.Centre;
     Scale = new Vector2(0.1f);
 }