FreeplayStateHelpers
| Kind | class |
| Package | states.helpers |
| Full name | states.helpers.FreeplayStateHelpers |
| Source | source/states/helpers/FreeplayStateHelpers.hx |
| Metadata | @:access(states.FreeplayState) |
Public methods
regenerateSongs
static function regenerateSongs(state:FreeplayState, start:String = '')
| Parameter | Type | Default |
|---|---|---|
state | FreeplayState | — |
start (optional) | String | '' |
checkForSongsThatMatch
static function checkForSongsThatMatch(state:FreeplayState, start:String = '')
| Parameter | Type | Default |
|---|---|---|
state | FreeplayState | — |
start (optional) | String | '' |
addSong
static function addSong(state:FreeplayState, songName:String, weekNum:Int, songCharacter:String, color:Int)
| Parameter | Type | Default |
|---|---|---|
state | FreeplayState | — |
songName | String | — |
weekNum | Int | — |
songCharacter | String | — |
color | Int | — |
weekIsLocked
static function weekIsLocked(state:FreeplayState, name:String):Bool
| Parameter | Type | Default |
|---|---|---|
state | FreeplayState | — |
name | String | — |
regenList
static function regenList(state:FreeplayState)
| Parameter | Type | Default |
|---|---|---|
state | FreeplayState | — |
changeSelection
static function changeSelection(state:FreeplayState, change:Int = 0, playSound:Bool = true)
| Parameter | Type | Default |
|---|---|---|
state | FreeplayState | — |
change (optional) | Int | 0 |
playSound (optional) | Bool | true |
changeDiff
static function changeDiff(state:FreeplayState, change:Int = 0)
| Parameter | Type | Default |
|---|---|---|
state | FreeplayState | — |
change (optional) | Int | 0 |
positionHighscore
static function positionHighscore(state:FreeplayState)
| Parameter | Type | Default |
|---|---|---|
state | FreeplayState | — |
updateTexts
static function updateTexts(state:FreeplayState, elapsed:Float = 0.0)
| Parameter | Type | Default |
|---|---|---|
state | FreeplayState | — |
elapsed (optional) | Float | 0.0 |
playSong
static function playSong(state:FreeplayState)
| Parameter | Type | Default |
|---|---|---|
state | FreeplayState | — |
songJsonPopup
static function songJsonPopup(state:FreeplayState)
| Parameter | Type | Default |
|---|---|---|
state | FreeplayState | — |
getVocalFromCharacter
static function getVocalFromCharacter(state:FreeplayState, char:String)
| Parameter | Type | Default |
|---|---|---|
state | FreeplayState | — |
char | String | — |
destroyFreeplayVocals
static function destroyFreeplayVocals()