diff --git a/src/falling_sand/rules.rs b/src/falling_sand/rules.rs index 1c61742..13eb3eb 100644 --- a/src/falling_sand/rules.rs +++ b/src/falling_sand/rules.rs @@ -135,10 +135,3 @@ impl FallingSandRules { pub fn to_rule_state(input: (Element, Element, Element, Element)) -> u32 { ((input.0 as u32) << 24) + ((input.1 as u32) << 16) + ((input.2 as u32) << 8) + input.3 as u32 } - -fn gen_rule( - input: (Element, Element, Element, Element), - output: (Element, Element, Element, Element), -) -> (u32, u32) { - (to_rule_state(input), to_rule_state(output)) -}