remove_state


Description:

public bool remove_state (StateType type)

Removes the state for the specified type from the state set.

Note that because an StateSet is a read-only object, this method should be used to remove a state to a newly-created set which will then be returned by ref_state_set . It should not be used to modify the existing state of an object. See also notify_state_change.

Parameters:

this

an StateSet

type

an AtkType

Returns:

true if type was the state type is in this.