we do this
This commit is contained in:
parent
5d46a3d0d9
commit
88c81a9635
@ -73,7 +73,7 @@ public abstract class Movement implements Helper, MovementHelper {
|
|||||||
return cost;
|
return cost;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected abstract double calculateCost(CalculationContext context); // TODO pass in information like whether it's allowed to place throwaway blocks
|
protected abstract double calculateCost(CalculationContext context);
|
||||||
|
|
||||||
public double recalculateCost() {
|
public double recalculateCost() {
|
||||||
cost = null;
|
cost = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user