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); }
public DrawableNote(ManiaBaseHit note) { this.note = note; Origin = Anchor.Centre; Scale = new Vector2(0.1f); }
public DrawableNote(ManiaBaseHit note) { this.note = note; Origin = Anchor.Centre; Scale = new Vector2(0.1f); }