protected override void Update(GameTime gameTime) { switch (this.paintMode) { case PaintMode.Paint: this.HandleInput(); break; case PaintMode.Exiting: // We are in the process of exiting break; } base.Update(gameTime); }