From 14ffe95f7d32191daf5444685f95cf93a35e381f Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sun, 14 Nov 2021 18:05:29 +0000 Subject: [PATCH] scene tile stubs --- src/scene.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/scene.rs b/src/scene.rs index a0dba0c..9aec47b 100644 --- a/src/scene.rs +++ b/src/scene.rs @@ -1,6 +1,7 @@ use std::fs::read_to_string; use std::path::PathBuf; use serde_derive::{Serialize, Deserialize}; +use crate::Position; #[derive(Debug, Eq, PartialEq)] pub struct Scene { @@ -36,6 +37,10 @@ impl Scene { Self { name, background, foreground } } + + pub fn set_tile(_position: Position, _new: String) { + todo!(); + } } /// scene name is derived from the filename,