This method is the constructor for the OMAndState class.
Public
OMAndState(OMState* par, OMState* cmp);
par
Specifies the parent
cmp
Specifies the component