- All Known Implementing Classes:
GuestModel,HostModel
public interface ScrabbleModelFacade
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidCharacter[][]getBoard()getNewPlayerTiles(int amount) getScore()booleanbooleanbooleanbooleanisMyTurn()voidnextTurn()booleansubmitWord(String word, int row, int col, boolean isVertical)
-
Method Details
-
submitWord
boolean submitWord(String word, int row, int col, boolean isVertical) throws IOException, ClassNotFoundException - Throws:
IOExceptionClassNotFoundException
-
getScore
- Throws:
IOException
-
getBoard
- Throws:
IOExceptionClassNotFoundException
-
getNewPlayerTiles
- Throws:
IOExceptionClassNotFoundException
-
nextTurn
- Throws:
IOExceptionInterruptedException
-
startGame
- Throws:
IOExceptionClassNotFoundException
-
isMyTurn
boolean isMyTurn() -
isGameOver
boolean isGameOver() -
addObserver
-
isGameStarted
boolean isGameStarted() -
disconnect
void disconnect() -
isDisconnected
boolean isDisconnected()
-