staticinstance:DesktopMain
@:value(null)statictheme:Theme = null
new(?TransIn:TransitionData, ?TransOut:TransitionData)
@:value(new MouseInput())mouseInput:MouseInput = new MouseInput()
oldScaleMode:BaseScaleMode
screenSize:FlxPoint
wallpaper:FlxSprite
windows:WindowGroup<Window>
focusWindow(window:Window):Void
layerCameras():Void
openWindow(content:WindowContent):Window
updateScreenRes():Void
read onlycontrols:Controls
Game Controls.
@:value(0)curBeat:Int = 0
Current beat
@:value(0)curBeatFloat:Float = 0
Current beat, as a Float (ex: 1.24, instead of 1)
Float
@:value(0)curStep:Int = 0
Current step
@:value(0)curStepFloat:Float = 0
Current step, as a Float (ex: 4.94, instead of 4)
@: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 independant of framerate.