Package ch.epfl.cs107.play.engine
Interface Playable
- All Superinterfaces:
Updatable
- All Known Subinterfaces:
Game
- All Known Implementing Classes:
Area,AreaGame,AreaPauseMenu,PauseMenu
-
Method Summary
-
Method Details
-
begin
Initialises game state : display and controls Note: Need to be Override- Parameters:
window- (Window): display context. Not nullfileSystem- (FileSystem): given file system. Not null- Returns:
- (boolean): whether the game was successfully started
-
end
void end()Cleans up things, called even if initialisation failed. Note: Need to be Override -
getTitle
String getTitle()Getter for game title Note: Need to be Override- Returns:
- (String) the game title
-