aboutsummaryrefslogtreecommitdiff
path: root/source/models/Player.hx
diff options
context:
space:
mode:
authorIndrajith K L2020-06-29 03:14:32 +0530
committerIndrajith K L2020-06-29 03:14:32 +0530
commitffd6706cb02fdd37f5f461a37287a5860e69fb6c (patch)
treee5a4b81cc73b710e4ef4312b192021072da000a4 /source/models/Player.hx
downloaddungeon-client-ffd6706cb02fdd37f5f461a37287a5860e69fb6c.tar.gz
dungeon-client-ffd6706cb02fdd37f5f461a37287a5860e69fb6c.tar.bz2
dungeon-client-ffd6706cb02fdd37f5f461a37287a5860e69fb6c.zip
:tada: Initial Commit
* Integrates Colyseus Server * Implements Basic Player movement * Player Remove/Update Events
Diffstat (limited to 'source/models/Player.hx')
-rw-r--r--source/models/Player.hx21
1 files changed, 21 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 = "";
+}