AbstractBacking PIXI animated sprite for this entity. The entity may mutate this sprite.
Backing PIXI animated sprite for this entity. The entity may mutate this sprite.
StaticgapDefault spacing hint in pixels used for layout/collision heuristics.
StatichitHitbox scale factor (dimensionless), typically in $[0, 1]$.
Starts playback of the provided animation sprite.
Side effects: sets animationSpeed and calls play().
AbstractupdateAdvances this entity by one tick/frame.
Call order/cadence: owned by the host (typically once per render tick).
Implementation-defined update context (e.g. delta time, input snapshot). The base contract does not prescribe units.
Abstract base class for a single gameplay entity.
Ownership/lifecycle:
Invariants:
updateis safe to call repeatedly (typical: every frame).anim.