Since we removed the option to use different vector providers, i think Formation shouldn't have an generic parameter describing the vector.
|
/** |
|
* @param agent The {@link Agent} to find a formation vector for. |
|
* @return The formation vector for the specified {@link Agent}. |
|
*/ |
|
V getFormationFor(A agent); |
The SetSupplier should also have the A extends Agent generic while someone is at it.
Since we removed the option to use different vector providers, i think
Formationshouldn't have an generic parameter describing the vector.zosma/src/main/java/io/leonis/zosma/game/Formation.java
Lines 15 to 19 in ccfc00f
The
SetSuppliershould also have theA extends Agentgeneric while someone is at it.