Basics
Guides
API Reference
Basics
Guides
API Reference
[15:7] extends: RechargeableIntComponent
Wraps FXGL's HealthIntComponent (com.almasb.fxgl.dsl.components.HealthIntComponent), a concrete RechargeableIntComponent for int-valued HP. Inherits the full damage / restore / percent API from RechargeableIntComponent.
HealthIntComponent (int MaxValue = 0)
Creates a new HealthIntComponent.
MaxValue is the initial max HP (defaults to 0).adopt (object Ajo)
Wraps an existing HealthIntComponent AussomJavaObject.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.