StateSet.addState

Add a new state for the specified type to the current state set if it is not already present.

class StateSet
int
addState

Parameters

type AtkStateType

an AtkStateType

Return Value

Type: int

TRUE if the state for type is not already in set.

Meta