file: TypeComponent.aus

class: TypeComponent

[16:7] extends: ObjectComponent

Wraps FXGL's TypeComponent (com.almasb.fxgl.entity.components.TypeComponent), the component that holds an entity's polymorphic type tag. Used by collision dispatch (onCollisionBegin(typeA, typeB, ...)) and entity queries (getEntitiesByType). Reachable through Entity.getTypeComponent().

Methods