Ejemplo n.º 1
0
 protected virtual TestDrawableBigBeat CreateDrawableBigBeat(TauBigBeatObject bigBeat, bool auto) => new TestDrawableBigBeat(bigBeat, auto)
 {
     Anchor          = Anchor.Centre,
     Origin          = Anchor.Centre,
     Depth           = depthIndex++,
     CheckValidation = b => true
 };
Ejemplo n.º 2
0
        private void testBigBeat(bool auto = false)
        {
            var bigBeatObject = new TauBigBeatObject
            {
                StartTime     = Time.Current + 1000,
                PositionToEnd = new Vector2(0, 0),
                Angle         = 0
            };

            bigBeatObject.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty {
            });
            var drawable = CreateDrawableBigBeat(bigBeatObject, auto);

            Add(drawable);
        }
Ejemplo n.º 3
0
        public DrawableTauBigBeatObject(TauBigBeatObject hitObject)
            : base(hitObject)
        {
            Anchor = Anchor.Centre;
            Origin = Anchor.Centre;
            RelativePositionAxes = Axes.Both;

            AddInternal(Box = new Box
            {
                EdgeSmoothness   = new Vector2(1f),
                RelativeSizeAxes = Axes.Both,
                Origin           = Anchor.Centre,
                Anchor           = Anchor.Centre,
                Alpha            = 0.05f
            });

            Box.Rotation = hitObject.Angle;

            Position = Vector2.Zero;
        }
Ejemplo n.º 4
0
 public TestDrawableBigBeat(TauBigBeatObject h, bool auto)
     : base(h)
 {
     this.auto = auto;
 }