Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: ManaIntComponent

[15:7] extends: RechargeableIntComponent

Wraps FXGL's ManaIntComponent (com.almasb.fxgl.dsl.components.ManaIntComponent), a concrete RechargeableIntComponent for int-valued mana. Inherits the full damage / restore / percent API from RechargeableIntComponent.

Methods

  • ManaIntComponent (int MaxValue = 100)

    Creates a new ManaIntComponent.

    • @p MaxValue is the initial max mana.
  • adopt (object Ajo)

    Wraps an existing ManaIntComponent AussomJavaObject.