// Most of the properties are configured here. public BeatBlock(int beatBlockTypeId, float speed, float hitboxPlaybackSpeedScale, IAnimationCurve animationCurve, float intensity, bool comboable, int comboFactor, int layoutLayer, float sizeScalingFactor, bool sizeScalable, GameSpaceOccupationOverTimeTemplate hitBoxSpaceOccupation, GameSpaceOccupationOverTimeTemplate animationSpaceOccupation, IAnimationGameObjectController animationGameObjectController, IHitboxGameObjectController hitboxGameObjectController) { BeatBlockTypeId = beatBlockTypeId; Speed = speed; HitboxPlaybackSpeedScale = hitboxPlaybackSpeedScale; AnimationCurve = animationCurve; Intensity = intensity; Comboable = comboable; this.comboFactor = comboFactor; LayoutLayer = layoutLayer; this.sizeScalingFactor = sizeScalingFactor; SizeScalable = sizeScalable; this.hitBoxSpaceOccupation = hitBoxSpaceOccupation; this.animationSpaceOccupation = animationSpaceOccupation; AnimationGameObjectController = animationGameObjectController; HitboxGameObjectController = hitboxGameObjectController; OnLayoutTrack = false; GameSpaceAreaOccupation = new BeatBlockGameSpaceOccupation(() => this.hitBoxSpaceOccupation, () => this.animationSpaceOccupation, () => this.GridPosition); }
private IAnimationGameObjectController animationGameObjectController; // 12 public BeatBlockBuilder_Recyclable AnimationGameObjectController(IAnimationGameObjectController anim) { setchecks[12] = true; animationGameObjectController = anim; return(this); }