public void UpdateSpellingBlock(GameTime gameTime) { var touchPanelState = TouchPanel.GetState(); foreach (var touch in touchPanelState) { if (touch.State == TouchLocationState.Pressed) { Vector2 Screen = resolution.ScreenToGameCoord(touch.Position); touchBox = new Rectangle((int)Screen.X, (int)Screen.Y, 4, 4); blocks.ArrowButton(touchBox); blocks.HintUpdate(touchBox); state = blocks.HomeButtonUpdate(touchBox, state); blocks.MoveHighlightedBlock(touchBox); blocks.CheckWin(); if (blocks.Skip) { blocks.CreateGame(spriteBatch, gameContent, state); } } } }