rework Room and rename to Scene

This commit is contained in:
2021-05-17 20:50:32 +01:00
parent fb44c55d1b
commit 11382a293e
4 changed files with 130 additions and 45 deletions

View File

@@ -1,19 +1,20 @@
use std::fs;
use std::path::PathBuf;
use serde_derive::{Serialize, Deserialize};
use crate::config::Config;
mod colour;
mod config;
mod image;
mod mock;
mod palette;
mod room;
mod scene;
pub use colour::Colour;
pub use palette::Palette;
use crate::config::Config;
pub use scene::Scene;
#[derive(Eq, Hash, PartialEq)]
#[derive(Debug, Eq, Hash, PartialEq)]
pub struct Position {
x: u8,
y: u8,