This method sets the last state.
Public
virtual void setLastState(OMState* s);
s
Specifies the last state