public void Place(int xPos, int yPos, Crossword.Alignment align, bool connected) { _XPos = xPos; _YPos = yPos; _Alignment = align; _Placed = true; _Connected = connected; Debug.Log(_Word + " placed at: " + xPos + " - " + yPos + " alignment: " + align); }
public void PlaceWord(WordQuestionPair word, int letterIndex, Crossword.Alignment alignment) { // Assign word to across or down so it can access the question when highlighted if (alignment == Crossword.Alignment.Across) { _AcrossWord = word; } else { _DownWord = word; } _Letter = word._Word[letterIndex]; _Type = Type.Letter; _Image.color = Color.white; _Text.text = _Letter.ToString(); }