Package rekit.persistence.level
Interface DataKeySetter
- All Known Implementing Classes:
Level
public interface DataKeySetter
This class defines the necessary methods to update the data of a level.
- Author:
- Dominik Fuchss
- See Also:
-
Method Details
-
getScore
int getScore()Get the current score of the level.- Returns:
- the score
- See Also:
-
getSuccess
boolean getSuccess()Get whether the game was successful.- Returns:
true
if success- See Also:
-
getWon
boolean getWon()Get whether the game was won.- Returns:
true
if won- See Also:
-
getDefinition
LevelDefinition getDefinition()Get the current level's definition.- Returns:
- the definition
-