Codename LogoCodename Logo

funkin.editors.charter.CharterEvent

APIWikiTools

Static methods

View on GitHub

staticgenerateEventIcon(event:ChartEvent, inMenu:Bool = true):FlxSprite

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

Constructor

View on GitHub

new(step:Float, ?events:Array<ChartEvent>, ?global:Bool)

Variables

displayGlobal:Bool = false

draggable:Bool = true

global:Bool = false

icons:Array<FlxSprite> = []

selected:Bool = false

snappedToGrid:Bool = true

step:Float

Methods

Inherited Variables

Defined by UISliceSprite

bHeight:Int = 20

bWidth:Int = 120

bottomAlpha:Null<Float> = null

bottomHeight:Int = 0

drawBottom:Bool = true

drawMiddle:Bool = true

drawTop:Bool = true

framesOffset:Int = 0

incorporeal:Bool = false

leftWidth:Int = 0

middleAlpha:Null<Float> = null

rightWidth:Int = 0

topAlpha:Null<Float> = null

topHeight:Int = 0

Defined by UISprite

autoAlpha:Bool = true

canBeHovered:Bool = true

focused:Bool

hoverCallback:() ‑> Void = null

hovered:Bool = false

hoveredByChild:Bool = false

members:Array<FlxBasic> = []

pressed:Bool = false

selectable:Bool = true

Inherited Methods