diff options
Diffstat (limited to 'src/client/Main.hx')
| -rw-r--r-- | src/client/Main.hx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/Main.hx b/src/client/Main.hx index 8ec1704..1552d38 100644 --- a/src/client/Main.hx +++ b/src/client/Main.hx @@ -2,11 +2,11 @@ package client; import haxe.crypto.Sha256; import haxe.Timer; +import haxe.Json; import js.html.MouseEvent; import js.html.KeyboardEvent; import js.html.Event; import js.html.Element; -import haxe.Json; import js.html.InputElement; import js.html.WebSocket; import js.Browser; @@ -38,7 +38,7 @@ class Main { static function main():Void new Main(); - public function new(?host:String, ?port:String) { + function new(?host:String, ?port:String) { player = new Player(this); if (host == null) host = Browser.location.hostname; if (host == "") host = "localhost"; |
