PlayStateCamera
| Kind | class |
| Package | play.helpers |
| Full name | play.helpers.PlayStateCamera |
| Source | source/play/helpers/PlayStateCamera.hx |
| Metadata | @:access(play.PlayState) @:access(backend.MusicBeatState) |
Public methods
moveCameraSection
static function moveCameraSection(state:PlayState):Void
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
moveCamera
static function moveCamera(state:PlayState, focus:String = "bf")
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
focus (optional) | String | "bf" |
snapCamFollowToPos
static function snapCamFollowToPos(state:PlayState, x:Float, y:Float)
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
x | Float | — |
y | Float | — |
characterBopper
static function characterBopper(state:PlayState, beat:Int):Void
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
beat | Int | — |
playerDance
static function playerDance(state:PlayState):Void
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
doTwist
static function doTwist(state:PlayState)
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
updateIconsScale
static function updateIconsScale(state:PlayState, elapsed:Float)
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
elapsed | Float | — |
updateIconsPosition
static function updateIconsPosition(state:PlayState)
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
bopIcons
static function bopIcons(state:PlayState, bopBF:Bool = false)
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
bopBF (optional) | Bool | false |
tankmanStep
static function tankmanStep(state:PlayState)
REFACTOR: tankman ascend sequence extracted from PlayState.stepHit
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |