core/core library
Classes
- Character
- Choice
- An option which the user can pick when prompted. The label is a text displayed to the user. The callback is called once the option is selected.
- Novel
- An entry point of the visual novel.
- Preferences
- Глобальные константы, определяющие работу игры.
- SaveData
- Scene
- Tree
- A class that holds all the scenes and provides methods for accessing them.
- Verse
- Информация, выводимая в текстовом блоке сцены
Functions
-
autosave(
SaveData saveData, String savePath) → Future< void> - Creates a save and writes it to the unique file.
-
getDefaultInitialSaveData(
Preferences preferences) → Future< SaveData> -
Returns the most recent save is case if one exists. Otherwise returns a clear state defined by
Savedata.fallback()
; -
getVisitedScenes(
String savePath) → Future< Set< String> > -
listSaves(
String savePath) → Future< List< SaveData> > -
markSceneAsVisited(
String sceneId, String savePath) → Future< void> -
save(
SaveData saveData, String savePath) → Future< void>