// Square was created. Select all dots of given type public void Create(DotManager.DotType dotType) { for (int i = 0; i < board.BoardArray.Count; i++) { for (int k = 0; k < board.BoardArray[i].Count; k++) { BoardSpace curSpace = board.BoardArray[i][k]; DotController curDot = curSpace.GetCurrentDot(); if (curDot.GetDotType().typeID == dotType.typeID) { curDot.Select(); // only add to our toScore list once if (!squareCreated) { toScore.Add(curSpace); } } } } squareCreated = true; Handheld.Vibrate(); }