Interface GameView
- All Known Implementing Classes:
ConsoleView
public interface GameView
GameView defines the various methods for getting and sending information to the client. Inheriting
classes are specific to the type of input and output.
For this assignment, read method descriptions in
ConsoleView-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidendGame()voidvoidlistKnights(List<Knight> knights) voidprintBattleText(List<MOB> monsters, List<Knight> activeKnights) voidprintBattleText(MOB dead) voidvoidprintFortunes(List<Knight> activeKnights) voidvoidvoidshowKnight(Knight knight) void
-
Method Details
-
splashScreen
void splashScreen() -
endGame
void endGame() -
displayMainMenu
String displayMainMenu() -
printHelp
void printHelp() -
listKnights
-
knightNotFound
void knightNotFound() -
showKnight
-
setActiveFailed
void setActiveFailed() -
printBattleText
-
printBattleText
-
printFortunes
-
checkContinue
boolean checkContinue() -
printDefeated
void printDefeated()
-