summaryrefslogtreecommitdiff
path: root/core/src/com/ilotterytea/maxoning/player
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/com/ilotterytea/maxoning/player')
-rw-r--r--core/src/com/ilotterytea/maxoning/player/MaxonSavegame.java40
1 files changed, 40 insertions, 0 deletions
diff --git a/core/src/com/ilotterytea/maxoning/player/MaxonSavegame.java b/core/src/com/ilotterytea/maxoning/player/MaxonSavegame.java
new file mode 100644
index 0000000..301840b
--- /dev/null
+++ b/core/src/com/ilotterytea/maxoning/player/MaxonSavegame.java
@@ -0,0 +1,40 @@
+package com.ilotterytea.maxoning.player;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+
+/**
+ * Save-game data class.
+ * @author NotDankEnough
+ * @since Alpha 1.2 (Oct 02, 2022)
+ */
+public class MaxonSavegame implements Serializable {
+ /** Earned Squish Points. */
+ public int points;
+ /** Multiplier. */
+ public short multiplier;
+
+ /** Home inventory. */
+ public ArrayList<Integer> inv;
+ /** Outside Inventory. */
+ public ArrayList<Integer> outInv;
+
+ /** Seed. */
+ public long seed;
+
+ /** Player name. */
+ public String name;
+ /** Pet name. */
+ public String petName;
+ /** Pet ID. */
+ public byte petId;
+
+ /** Elapsed time from game start. */
+ public long elapsedTime;
+
+ /** Last timestamp when save game was used. */
+ public long lastTimestamp;
+
+ /** Location. */
+ public short roomId;
+} \ No newline at end of file