convert exit room id to u64

This commit is contained in:
2020-04-13 13:51:29 +01:00
parent 53d5a28923
commit f424c49301
2 changed files with 19 additions and 14 deletions

View File

@@ -149,7 +149,11 @@ 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}, effect: Transition::None}
exit: Exit {
room_id: 3,
position: Position { x: 10, y: 6},
effect: Transition::None
}
},
],
endings: vec![