public DrawableTaikoHit(TaikoBaseHit h) { this.h = h; Origin = Anchor.Centre; Scale = new Vector2(0.2f); RelativePositionAxes = Axes.Both; Position = new Vector2(1.1f, 0.5f); }
private TaikoBaseHit convertForTaiko(HitObject input) { TaikoBaseHit h = input as TaikoBaseHit; if (h == null) { OsuBaseHit o = input as OsuBaseHit; if (o == null) { throw new Exception(@"Can't convert!"); } h = new TaikoBaseHit() { StartTime = o.StartTime }; } return(h); }