public class LevelEndEvent extends PredefinedEvent<LevelEndEvent>
MAX_NUM_ATTRIBUTES, MAX_STRING_LENGTH| Constructor and Description |
|---|
LevelEndEvent() |
| Modifier and Type | Method and Description |
|---|---|
LevelEndEvent |
putLevelName(String levelName)
Put name of level ended.
|
LevelEndEvent |
putScore(Number score)
Put score of level ended.
|
LevelEndEvent |
putSuccess(boolean success)
Put result of level attempt.
|
toStringputCustomAttribute, putCustomAttributepublic LevelEndEvent putLevelName(String levelName)
levelName - name of level ended, not nullpublic LevelEndEvent putScore(Number score)
score - score of level ended, not nullpublic LevelEndEvent putSuccess(boolean success)
success - result of level attempt