summaryrefslogtreecommitdiff
path: root/webhogg/wasm/src/context/logic.rs
diff options
context:
space:
mode:
authorTrueDoctor <dennis@kobert.dev>2019-06-22 00:03:37 +0200
committerGitHub <noreply@github.com>2019-06-22 00:03:37 +0200
commit8b2040eb93e8e4355c8f357b775dedcffafff3dc (patch)
tree0b2c4724f0c75d09ee8b86f397bf6602a899e825 /webhogg/wasm/src/context/logic.rs
parent9e9c1c822a64c0a65033b7eed07ea661a385cecc (diff)
parent5522731ec4de8741f923b339ca942f8aaff2a338 (diff)
Merge pull request #39 from TrueDoctor/game_server_refactor
Game server refactor
Diffstat (limited to 'webhogg/wasm/src/context/logic.rs')
-rw-r--r--webhogg/wasm/src/context/logic.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/webhogg/wasm/src/context/logic.rs b/webhogg/wasm/src/context/logic.rs
new file mode 100644
index 0000000..71dfea4
--- /dev/null
+++ b/webhogg/wasm/src/context/logic.rs
@@ -0,0 +1,11 @@
+use crate::error::WasmError;
+
+pub struct LogicContext {
+}
+
+impl LogicContext {
+ pub fn new() -> Result<Self, WasmError> {
+ Ok(Self {
+ })
+ }
+}