Shield API

Shield represents a single shield bubble/segment.

Reference

  • getCurrent() Returns the shield’s current HP.

  • getCapacity() Returns the shield’s maximum HP.

  • getRegen() Returns the shield’s regeneration rate per game tick.

  • isActive() Returns true when this shield bubble is currently active.