Skip to main content

PlayStateCamera

Kindclass
Packageplay.helpers
Full nameplay.helpers.PlayStateCamera
Sourcesource/play/helpers/PlayStateCamera.hx
Metadata@:access(play.PlayState) @:access(backend.MusicBeatState)

Public methods​

moveCameraSection​

static function moveCameraSection(state:PlayState):Void
ParameterTypeDefault
statePlayState—

View source

moveCamera​

static function moveCamera(state:PlayState, focus:String = "bf")
ParameterTypeDefault
statePlayState—
focus (optional)String"bf"

View source

snapCamFollowToPos​

static function snapCamFollowToPos(state:PlayState, x:Float, y:Float)
ParameterTypeDefault
statePlayState—
xFloat—
yFloat—

View source

characterBopper​

static function characterBopper(state:PlayState, beat:Int):Void
ParameterTypeDefault
statePlayState—
beatInt—

View source

playerDance​

static function playerDance(state:PlayState):Void
ParameterTypeDefault
statePlayState—

View source

doTwist​

static function doTwist(state:PlayState)
ParameterTypeDefault
statePlayState—

View source

updateIconsScale​

static function updateIconsScale(state:PlayState, elapsed:Float)
ParameterTypeDefault
statePlayState—
elapsedFloat—

View source

updateIconsPosition​

static function updateIconsPosition(state:PlayState)
ParameterTypeDefault
statePlayState—

View source

bopIcons​

static function bopIcons(state:PlayState, bopBF:Bool = false)
ParameterTypeDefault
statePlayState—
bopBF (optional)Boolfalse

View source

tankmanStep​

static function tankmanStep(state:PlayState)

REFACTOR: tankman ascend sequence extracted from PlayState.stepHit

ParameterTypeDefault
statePlayState—

View source