mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/data/schematic.rs')
-rw-r--r--src/data/schematic.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/data/schematic.rs b/src/data/schematic.rs
index 5c34bcb..1e3e513 100644
--- a/src/data/schematic.rs
+++ b/src/data/schematic.rs
@@ -59,8 +59,13 @@ impl<'l> Placement<'l> {
}
/// draws this placement in particular
- pub fn image(&self, context: Option<&RenderingContext>, rot: Rotation) -> ImageHolder {
- self.block.image(self.get_state(), context, rot)
+ pub fn image(
+ &self,
+ context: Option<&RenderingContext>,
+ rot: Rotation,
+ s: Scale,
+ ) -> ImageHolder {
+ self.block.image(self.get_state(), context, rot, s)
}
/// set the state