void RequireState(ProcessingState state) { if (this.processingState != state) { GotoState(state); } }