we do this
This commit is contained in:
		@@ -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;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user