public class KeepOnScreenComponent
extends Component
A component that keeps an entity within the viewport.
Entities with physics enabled are not supported.
Do NOT use this component if viewport is bound to an entity.
Author:
Almas Baimagambetov (almaslvl@gmail.com)
Field Summary
Fields inherited from class com.almasb.fxgl.entity.component.Component