32 virtual void Apply(std::vector<QPointF> &control_points,
33 std::vector<QPointF> &velocity,
47 std::vector<QPointF> &velocity,
49 const std::vector<QPointF> &control_points,
50 double blob_radius) = 0;
Abstract base class defining the interface for different blob animation states.
Definition blob_state.h:16
virtual void Apply(std::vector< QPointF > &control_points, std::vector< QPointF > &velocity, QPointF &blob_center, const BlobConfig::BlobParameters ¶ms)=0
Applies the state-specific logic and effects to the blob. This method is called periodically by the a...
virtual ~BlobState()=default
Virtual destructor. Ensures proper cleanup when deleting derived state objects through a base class p...
virtual void ApplyForce(const QVector2D &force, std::vector< QPointF > &velocity, QPointF &blob_center, const std::vector< QPointF > &control_points, double blob_radius)=0
Applies an external force to the blob, potentially modified by the current state. Allows states to re...
Structure holding parameters related to the blob's visual appearance and basic geometry.
Definition blob_config.h:25