Example #1
0
        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);
        }
Example #2
0
        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);
        }
Example #3
0
        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);
        }