summaryrefslogtreecommitdiff
path: root/src/worldloader.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-02-21 15:03:43 +0100
committertroido <troido@protonmail.com>2020-02-21 15:03:43 +0100
commitada1c4571a9ba43b15027f126fada55e73901a11 (patch)
tree30b49fd4a4ad7460d439aa12e805fcddf33bcad9 /src/worldloader.rs
parentd225dc6349670926a4adea932f0ea77b7af5acbc (diff)
create World for multiroom support
Diffstat (limited to 'src/worldloader.rs')
-rw-r--r--src/worldloader.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/worldloader.rs b/src/worldloader.rs
index 6660f9d..8745bf4 100644
--- a/src/worldloader.rs
+++ b/src/worldloader.rs
@@ -11,15 +11,13 @@ use crate::{
pub struct WorldLoader {
- pub directory: PathBuf,
- pub default_room: RoomId
+ pub directory: PathBuf
}
impl WorldLoader {
- pub fn new(path: PathBuf, default_room: RoomId) -> Self {
+ pub fn new(path: PathBuf) -> Self {
Self {
- directory: path,
- default_room
+ directory: path
}
}