convert room id and palette id to u64
This commit is contained in:
@@ -118,8 +118,8 @@ pub fn item() -> Item {
|
||||
|
||||
pub fn room() -> Room {
|
||||
Room {
|
||||
id: "a".to_string(),
|
||||
palette: "9".to_string(),
|
||||
id: 10,
|
||||
palette_id: 9,
|
||||
name: Some("cellar 7".to_string()),
|
||||
tiles: vec![
|
||||
"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"1l".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),
|
||||
@@ -176,8 +176,8 @@ pub fn game_default() -> Game {
|
||||
],
|
||||
rooms: vec![
|
||||
Room {
|
||||
id: "0".to_string(),
|
||||
palette: "0".to_string(),
|
||||
id: 0,
|
||||
palette_id: 0,
|
||||
name: None,
|
||||
tiles: vec![
|
||||
"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),"0".to_string(),
|
||||
|
||||
Reference in New Issue
Block a user