fix game runner and start migrating to actual game data; fix game data loading errors
This commit is contained in:
@@ -3,15 +3,15 @@ use serde_derive::{Serialize, Deserialize};
|
||||
#[derive(Debug, Eq, PartialEq, Serialize, Deserialize)]
|
||||
pub struct Config {
|
||||
/// used in the window title bar
|
||||
name: Option<String>,
|
||||
width: u8,
|
||||
height: u8,
|
||||
pub name: Option<String>,
|
||||
pub width: u8,
|
||||
pub height: u8,
|
||||
/// animation rate in milliseconds
|
||||
tick: u64,
|
||||
pub tick: u64,
|
||||
/// if this is not specified, the game will pick the first room it finds
|
||||
starting_room: Option<String>,
|
||||
pub starting_room: Option<String>,
|
||||
/// major / minor
|
||||
version: (u8, u8),
|
||||
pub version: (u8, u8),
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in New Issue
Block a user