PlayStateCharacters
| Kind | class |
| Package | play.helpers |
| Full name | play.helpers.PlayStateCharacters |
| Source | source/play/helpers/PlayStateCharacters.hx |
REFACTOR: character list/pos/lua logic extracted from play.PlayState
Public methods
addCharacterToList
static function addCharacterToList(state:PlayState, newCharacter:String, type:Int)
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
newCharacter | String | — |
type | Int | — |
startCharacterLua
static function startCharacterLua(state:PlayState, name:String)
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
name | String | — |
startCharacterPos
static function startCharacterPos(state:PlayState, char:Character, gfCheck:Bool = false)
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
char | Character | — |
gfCheck (optional) | Bool | false |