diff options
| author | troido <troido@protonmail.com> | 2020-02-23 01:18:17 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-02-23 01:18:17 +0100 |
| commit | 7262cfc53b4af978d6db1b91e3143200f906587f (patch) | |
| tree | f6aa651a3040a1389a9c4e82796f1c04b3c5198c /src/resources | |
| parent | 522aad7889cd62e96af7c420789507ccbf5b7aaa (diff) | |
rooms have named locations to be used by portals
Diffstat (limited to 'src/resources')
| -rw-r--r-- | src/resources/mod.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/resources/mod.rs b/src/resources/mod.rs index 0e9a1e3..5524298 100644 --- a/src/resources/mod.rs +++ b/src/resources/mod.rs @@ -12,7 +12,8 @@ use crate::{ RoomId, util::Result, template::Template, - components::Visible + components::Visible, + playerstate::RoomPos }; @@ -87,6 +88,6 @@ pub struct Players { #[derive(Default)] pub struct Emigration { - pub emigrants: Vec<(PlayerId, RoomId)> + pub emigrants: Vec<(PlayerId, RoomId, RoomPos)> } |
