new(chartEvent:CharterEvent)
addButton:UIButton
cam:FlxCamera
chartEvent:CharterEvent
@:value(-1)curEvent:Int = -1
deleteButton:UIButton
eventName:UIText
iconsPanel:FlxGroup
@:value([])paramsFields:Array<FlxBasic> = []
paramsPanel:FlxGroup
saveButton:UIButton
@:value({ save : true })changeTab(id:Int, save:Bool = true):Void
refreshIcons():Void
saveCurTab():Void
read onlycontrols:Controls
Game Controls. (All players / Solo)
read onlycontrolsP1:Controls
Game Controls (Player 1 only)
read onlycontrolsP2:Controls
Game Controls (Player 2 only)
read onlycurBeat:Int
Current beat
read onlycurBeatFloat:Float
Current beat, as a Float (ex: 1.24, instead of 1)
Float
read onlycurMeasure:Int
read onlycurMeasureFloat:Float
read onlycurStep:Int
Current step
read onlycurStepFloat:Float
Current step, as a Float (ex: 4.94, instead of 4)
parent:FlxState
@:value(null)scriptName:String = null
@:value(true)scriptsAllowed:Bool = true
read onlysongPos:Float
Current song position (in milliseconds).
stateScript:Script
Current injected script attached to the state. To add one, create a file at path "data/states/stateName" (ex: "data/states/PauseMenuSubstate.hx")
call(name:String, ?args:Array<Dynamic>, ?defaultVal:Dynamic):Dynamic
event<T>(name:String, event:T):T
@:value({ fpsSensitive : false })lerp(v1:Float, v2:Float, ratio:Float, fpsSensitive:Bool = false):Float
Shortcut to FlxMath.lerp or CoolUtil.lerp, depending on fpsSensitive
FlxMath.lerp
CoolUtil.lerp
fpsSensitive
Parameters:
v1
Value 1
v2
Value 2
ratio
Ratio
Whenever the ratio should not be adjusted to run at the same speed independent of framerate.
openSubState(subState:FlxSubState):Void
SCRIPTING STUFF