Axis equals impl
@@ -231,6 +231,17 @@ public class KeyBinds{
this.key = null;
}
+ @Override
+ public boolean equals(Object o){
+ if(this == o) return true;
+ if(o == null || getClass() != o.getClass()) return false;
+
+ Axis axis = (Axis)o;
+
+ if(min != axis.min) return false;
+ if(max != axis.max) return false;
+ return key == axis.key;
+ }
@Override
public String toString(){
return "Axis{" +
