aboutsummaryrefslogtreecommitdiff
path: root/source/models
diff options
context:
space:
mode:
Diffstat (limited to 'source/models')
-rw-r--r--source/models/Player.hx21
-rw-r--r--source/models/State.hx15
2 files changed, 36 insertions, 0 deletions
diff --git a/source/models/Player.hx b/source/models/Player.hx
new file mode 100644
index 0000000..1de9b3a
--- /dev/null
+++ b/source/models/Player.hx
@@ -0,0 +1,21 @@
+//
+// THIS FILE HAS BEEN GENERATED AUTOMATICALLY
+// DO NOT CHANGE IT MANUALLY UNLESS YOU KNOW WHAT YOU'RE DOING
+//
+// GENERATED USING @colyseus/schema 0.5.39
+//
+package models;
+
+import io.colyseus.serializer.schema.Schema;
+
+class Player extends Schema
+{
+ @:type("number")
+ public var x:Dynamic = 0;
+
+ @:type("number")
+ public var y:Dynamic = 0;
+
+ @:type("string")
+ public var name:String = "";
+}
diff --git a/source/models/State.hx b/source/models/State.hx
new file mode 100644
index 0000000..4f89d35
--- /dev/null
+++ b/source/models/State.hx
@@ -0,0 +1,15 @@
+//
+// THIS FILE HAS BEEN GENERATED AUTOMATICALLY
+// DO NOT CHANGE IT MANUALLY UNLESS YOU KNOW WHAT YOU'RE DOING
+//
+// GENERATED USING @colyseus/schema 0.5.39
+//
+package models;
+
+import io.colyseus.serializer.schema.Schema;
+
+class State extends Schema
+{
+ @:type("map", Player)
+ public var players:MapSchema<Player> = new MapSchema<Player>();
+}