Skip to content

Commit de836f3

Browse files
committed
More ideas
1 parent 14db86d commit de836f3

File tree

1 file changed

+4
-2
lines changed
  • common/src/main/kotlin/com/lambda/module/modules/player

1 file changed

+4
-2
lines changed

common/src/main/kotlin/com/lambda/module/modules/player/Replay.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ import kotlin.time.toDuration
2424
// ToDo: Needs more dense data storage (Not using JSON)
2525
// - Use a custom binary format to store the data
2626
// - Actually store the data in a file
27-
// - Implement a way to save and load the data (Commands)
27+
// - Implement a way to save and load the data (Commands?)
2828
// - Pause and resume the replay and recording
29+
// - Play n time - Loop mode
30+
// - Record other types of inputs: (Interactions, etc.)
2931
object Replay : Module(
3032
name = "Replay",
3133
description = "Replays the last few seconds of gameplay",
@@ -140,7 +142,7 @@ object Replay : Module(
140142
when (mode) {
141143
ReplayMode.RECORD -> {
142144
mode = ReplayMode.INACTIVE
143-
this@Replay.info(GSON.toJson(actions))
145+
// this@Replay.info(GSON.toJson(actions))
144146
this@Replay.info("Recording stopped. Recorded for $duration")
145147
}
146148

0 commit comments

Comments
 (0)