mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/block/distribution.rs')
-rw-r--r--src/block/distribution.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/block/distribution.rs b/src/block/distribution.rs
index 933636b..4cc68c6 100644
--- a/src/block/distribution.rs
+++ b/src/block/distribution.rs
@@ -204,11 +204,6 @@ impl BlockLogic for ItemBlock {
}
}
- fn clone_state(&self, state: &State) -> State {
- let state = Self::get_state(state);
- Box::new(Self::create_state(*state))
- }
-
fn mirror_state(&self, _: &mut State, _: bool, _: bool) {}
fn rotate_state(&self, _: &mut State, _: bool) {}
@@ -397,11 +392,6 @@ impl BlockLogic for BridgeBlock {
}
}
- fn clone_state(&self, state: &State) -> State {
- let state = Self::get_state(state);
- Box::new(Self::create_state(*state))
- }
-
fn mirror_state(&self, state: &mut State, horizontally: bool, vertically: bool) {
match Self::get_state_mut(state) {
None => (),