14 float tileSize,
float duration);
16 void update(
float dt)
override;
17 bool isDone()
const override;
Interface for entity visual behaviors (movement, rotation, animations, etc.). Behaviors are ticked ev...
Interpolates an entity's visual position from one tile to another. Handles toroidal wrap-around by te...
bool isDone() const override
Returns true when the behavior has completed and can be removed.
float minDuration() const override
Minimum duration below which this behavior is skipped entirely.
float getDuration() const override
Total duration of this behavior in seconds.
static float _smoothstep(float t)
void update(float dt) override
Visual-only state for an entity, driven by behaviors each frame. Logical state (x,...