From ffd6706cb02fdd37f5f461a37287a5860e69fb6c Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Mon, 29 Jun 2020 03:14:32 +0530 Subject: :tada: Initial Commit * Integrates Colyseus Server * Implements Basic Player movement * Player Remove/Update Events --- source/models/State.hx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 source/models/State.hx (limited to 'source/models/State.hx') 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 = new MapSchema(); +} -- cgit v1.2.3