This class handles song events which change the player's health icon, or the opponent's health icon.

Example: Set the health icon of the opponent to "tankman-bloody":

{
  'e': 'SetHealthIcon',
	 "v": {
	 	 "char": 1,
    "id": "tankman-bloody",

// Optional params:
    "scale": 1.0,
    "flipX": false,
    "isPixel": false,
    "offsetX": 0.0,
    "offsetY": 0.0
  }
}

Constructor

new()

Methods

Inherited Variables

Defined by SongEvent

id:String

The internal song event ID that this handler is responsible for.

Inherited Methods

Defined by SongEvent

getIconPath():String

Retrieves the asset path to the icon this event type should use in the chart editor. To customize this, override getIconPath().

Returns:

The path to the icon to display.

toString():String