public VGState getPreviousState()
 {
     return(pState.Clone());
 }
 public VGState getCurrentState()
 {
     return(cState.Clone());
 }