implement scene transitions

This commit is contained in:
2020-04-12 15:40:40 +01:00
parent eb06d59858
commit 8e5d55c2a5
5 changed files with 91 additions and 15 deletions

View File

@@ -149,7 +149,7 @@ pub fn room() -> Room {
exits: vec![
ExitInstance {
position: Position { x: 3, y: 3},
exit: Exit { room: "3".to_string(), position: Position { x: 10, y: 6}}
exit: Exit { room: "3".to_string(), position: Position { x: 10, y: 6}, effect: Transition::None}
},
],
endings: vec![