diff --git a/client/game.js b/client/game.js index f28b32a..83ac9b7 100644 --- a/client/game.js +++ b/client/game.js @@ -1,15 +1,18 @@ -var Entrypoint = (function () { - function Entrypoint() { - } - Entrypoint.Main = function () { - }; - return Entrypoint; -}()); var FileCache = (function () { function FileCache() { } FileCache.Initialize = function () { + var request = window.indexedDB.open("fileCache", 1); }; return FileCache; }()); FileCache.dbHandle = null; +/// +var Entrypoint = (function () { + function Entrypoint() { + } + Entrypoint.Main = function () { + FileCache.Initialize(); + }; + return Entrypoint; +}()); diff --git a/client/src/Entrypoint.ts b/client/src/Entrypoint.ts index 4e997ae..cee6371 100644 --- a/client/src/Entrypoint.ts +++ b/client/src/Entrypoint.ts @@ -1,5 +1,7 @@ +/// + class Entrypoint { static Main(): void { - + FileCache.Initialize(); } } \ No newline at end of file diff --git a/client/src/FileCache.ts b/client/src/FileCache.ts index e7ae8e3..fb0ae97 100644 --- a/client/src/FileCache.ts +++ b/client/src/FileCache.ts @@ -2,6 +2,6 @@ class FileCache { static dbHandle: IDBDatabase = null; static Initialize(): void { - + var request = window.indexedDB.open("fileCache", 1); } } \ No newline at end of file diff --git a/client/style.css b/client/style.css index ce68646..1f073d8 100644 --- a/client/style.css +++ b/client/style.css @@ -1,5 +1,7 @@ body { background: #000; + margin: 0; + padding: 0; } #cs { diff --git a/server/Server.cs b/server/Server.cs index 94a4506..ddcbcfb 100644 --- a/server/Server.cs +++ b/server/Server.cs @@ -13,11 +13,11 @@ namespace CircleScape { } protected override void OnOpen() { - + if() } protected override void OnMessage(MessageEventArgs e) { - Sess + } protected override void OnClose(CloseEventArgs e) {