Checkstyle

This commit is contained in:
Arne Keller 2020-02-19 10:13:44 +01:00
parent 0ff7d6e300
commit 43ee608975

View File

@ -1,5 +1,7 @@
package edu.kit.informatik.model;
import java.util.Objects;
/**
* A two-dimensional vector, usually a position or movement direction vector.
*
@ -139,4 +141,9 @@ public class Vector2D {
return false;
}
@Override
public int hashCode() {
return Objects.hash(x, y);
}
}