StateSet.addState

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

class StateSet
bool
addState

Parameters

type AtkStateType

an #AtkStateType

Return: %TRUE if the state for @type is not already in @set.

Meta