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 TypeMethodDescriptionboolean
void
endGame()
void
void
listKnights
(List<Knight> knights) void
printBattleText
(List<MOB> monsters, List<Knight> activeKnights) void
printBattleText
(MOB dead) void
void
printFortunes
(List<Knight> activeKnights) void
void
void
showKnight
(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()
-