Package com.jackdaw.chatwithnpc
Class LiveCycleManager
java.lang.Object
com.jackdaw.chatwithnpc.LiveCycleManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Save all conversations, NPC entities, and environmentsstatic void
saveAll()
Save all conversations, NPC entities, and environmentsstatic void
shutdown()
Shutdown the live cycle managerstatic void
start
(long updateInterval) Start the live cycle managerstatic void
update()
Update the live cycle manager
-
Constructor Details
-
LiveCycleManager
public LiveCycleManager()
-
-
Method Details
-
start
public static void start(long updateInterval) Start the live cycle manager- Parameters:
updateInterval
- the interval in milliseconds to update the live cycle manager
-
update
public static void update()Update the live cycle manager -
asyncSaveAll
public static void asyncSaveAll()Save all conversations, NPC entities, and environments -
saveAll
public static void saveAll()Save all conversations, NPC entities, and environments -
shutdown
public static void shutdown()Shutdown the live cycle manager
-