Skip to main content

CharacterEditorHelpers

Kindclass
Packageeditors.helpers
Full nameeditors.helpers.CharacterEditorHelpers
Sourcesource/editors/helpers/CharacterEditorHelpers.hx
Metadata@:access(editors.CharacterEditorState)

Public methods​

reloadCharacterDropDown​

static function reloadCharacterDropDown(state:CharacterEditorState)
ParameterTypeDefault
stateCharacterEditorState—

View source

predictCharacterIsNotPlayer​

static function predictCharacterIsNotPlayer(state:CharacterEditorState, name:String)
ParameterTypeDefault
stateCharacterEditorState—
nameString—

View source

updateCharacterPositions​

static function updateCharacterPositions(state:CharacterEditorState)
ParameterTypeDefault
stateCharacterEditorState—

View source

resetHealthBarColor​

static function resetHealthBarColor(state:CharacterEditorState)
ParameterTypeDefault
stateCharacterEditorState—

View source

reloadCharacterImage​

static function reloadCharacterImage(state:CharacterEditorState)
ParameterTypeDefault
stateCharacterEditorState—

View source

reloadAnimList​

static function reloadAnimList(state:CharacterEditorState)
ParameterTypeDefault
stateCharacterEditorState—

View source

reloadAnimationDropDown​

static function reloadAnimationDropDown(state:CharacterEditorState)
ParameterTypeDefault
stateCharacterEditorState—

View source

updateText​

static function updateText(state:CharacterEditorState)
ParameterTypeDefault
stateCharacterEditorState—

View source

addAnimation​

static function addAnimation(state:CharacterEditorState, anim:String, name:String, fps:Float, loop:Bool, indices:Array<Int>)
ParameterTypeDefault
stateCharacterEditorState—
animString—
nameString—
fpsFloat—
loopBool—
indicesArray<Int>—

View source

newAnim​

static function newAnim(state:CharacterEditorState, anim:String, name:String):AnimArray
ParameterTypeDefault
stateCharacterEditorState—
animString—
nameString—

View source

findAnimationByName​

static function findAnimationByName(state:CharacterEditorState, name:String):AnimArray
ParameterTypeDefault
stateCharacterEditorState—
nameString—

View source

updatePointerPos​

static function updatePointerPos(state:CharacterEditorState)
ParameterTypeDefault
stateCharacterEditorState—

View source