java.lang.Object
Model.gameClasses.Word
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Word
- Parameters:
tiles- an array of tilesrow- the row of the first lettercol- the column of the first lettervertical- whether the word is vertical or not
-
-
Method Details
-
equals
-
getTiles
- Returns:
- the tiles array of the word
-
getRow
public int getRow()- Returns:
- the row of the first letter
-
getCol
public int getCol()- Returns:
- the column of the first letter
-
isVertical
public boolean isVertical()- Returns:
- true if the word is vertical, false if horizontal
-