mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/block/simple.rs')
| -rw-r--r-- | src/block/simple.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/block/simple.rs b/src/block/simple.rs index dcbe0dc..96f6b77 100644 --- a/src/block/simple.rs +++ b/src/block/simple.rs @@ -93,6 +93,16 @@ impl BlockLogic for SimpleBlock panic!("{} has no custom state", type_name::<Self>()) } + fn mirror_state(&self, _: &mut dyn Any, _: bool, _: bool) + { + panic!("{} has no custom state", type_name::<Self>()); + } + + fn rotate_state(&self, _: &mut dyn Any, _: bool) + { + panic!("{} has no custom state", type_name::<Self>()); + } + fn serialize_state(&self, _: &dyn Any) -> Result<DynData, SerializeError> { Ok(DynData::Empty) |