Register a new object state.
a character string describing the new state.
an atk.State value for the new state.
Register a new object state.