register


Description:

public static StateType register (string name)

Register a new object state.

Parameters:

name

a character string describing the new state.

Returns:

an State value for the new state.