summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-02-03 23:03:11 +0100
committertroido <troido@protonmail.com>2020-02-03 23:03:11 +0100
commit33576fe7a5f241dbd884315c3552ad8186562e74 (patch)
treedd893817d2d0aae5a19a2f4f6778a59ba44dc123 /src/main.rs
parent26ab89d8125f4cb10d43dfeb67ac87ffb80656cb (diff)
can initialise Assemblages from json lists and dicts
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs23
1 files changed, 11 insertions, 12 deletions
diff --git a/src/main.rs b/src/main.rs
index 97f5bac..b1d30bb 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -4,17 +4,17 @@ use std::thread::sleep;
use std::time::Duration;
use std::path::Path;
-pub mod server;
-pub mod gameserver;
-pub mod room;
-pub mod util;
-pub mod controls;
-pub mod assemblages;
-pub mod components;
-pub mod resources;
-pub mod systems;
-pub mod worldmessages;
-pub mod pos;
+mod server;
+mod gameserver;
+mod room;
+mod util;
+mod controls;
+mod assemblages;
+mod components;
+mod resources;
+mod systems;
+mod worldmessages;
+mod pos;
use self::gameserver::GameServer;
use self::server::unixserver::UnixServer;
@@ -42,7 +42,6 @@ fn main() {
let mut room = gen_room(50, 40);
-
loop {
let actions = gameserver.update();