View source
class CharterEvent
package funkin.editors.charter
extends UISliceSprite › UISprite
implements ICharterSelectable
Static methods
View on GitHub
staticgetEventComponent(type:String, x:Float = 0.0, y:Float = 0.0):FlxSprite
Gets a component sprite from the editors/charter/event-icons/components folder If you wanna use a number, please use the EventNumber class instead
Parameters:
type | The type of component to get |
---|---|
x | The x position of the sprite (optional) |
y | The y position of the sprite (optional) |
Returns:
The component sprite
View on GitHub
staticgetIconFromStrumline(index:Null<Int>):HealthIcon
Expected to be called from inside of a ui script, calling this elsewhere might cause unexpected results or crashes