redo version as a struct

This commit is contained in:
2020-04-18 11:03:24 +01:00
parent c8a4b4a8bc
commit 935075e7a1
3 changed files with 21 additions and 19 deletions

View File

@@ -188,8 +188,7 @@ pub fn room() -> Room {
pub fn game_default() -> Game {
Game {
name: "Write your game's title here".to_string(),
major_version: 6,
minor_version: 5,
version: Version { major: 6, minor: 5 },
room_format: 1,
font: Font::AsciiSmall,
custom_font: None,