mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/block/base.rs')
| -rw-r--r-- | src/block/base.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/block/base.rs b/src/block/base.rs index 33b4ae8..e62fd86 100644 --- a/src/block/base.rs +++ b/src/block/base.rs @@ -111,6 +111,14 @@ impl BlockLogic for LampBlock Box::new(Self::create_state(*state)) } + fn mirror_state(&self, _: &mut dyn Any, _: bool, _: bool) + { + } + + fn rotate_state(&self, _: &mut dyn Any, _: bool) + { + } + fn serialize_state(&self, state: &dyn Any) -> Result<DynData, SerializeError> { let state = Self::get_state(state); |