file: ChildViewComponent.aus

class: ChildViewComponent

[20:7] extends: Component

Wraps FXGL's ChildViewComponent (com.almasb.fxgl.dsl.components.view.ChildViewComponent), the abstract base for view-attaching components. Concrete subclasses (GenericBarViewComponent, TextViewComponent, etc.) carry their own view Node and pin it to the entity with an (x, y) offset. This wrapper is abstract; instantiate one of the concrete subclasses or rewrap an existing AJO with adopt().

Methods