Components
Components are data containers attached to entities.
Built-in Components
Section titled “Built-in Components”Position- x, y, rotationSprite- texture, animation, pivotShape- circle, rectangle, polygonRigidBody- physics body typeCollider- collision shape
Custom Components
Section titled “Custom Components”Define in components/:
pub const Health = struct { current: i32 = 100, max: i32 = 100,};Register in project.labelle or use the component registry.