file: RechargeableDoubleComponent.aus

class: RechargeableDoubleComponent

[21:7] extends: DoubleComponent

Wraps FXGL's RechargeableDoubleComponent (com.almasb.fxgl.dsl.components.RechargeableDoubleComponent), the abstract base for any rechargeable double-valued resource (HP, SP, ammo). Subclasses include HealthDoubleComponent and ManaDoubleComponent. This wrapper is abstract; construct one of the concrete subclasses, then optionally rewrap with adopt() if you want the base API.

Methods