Skip to content

Commit

Permalink
Made method public for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard authored and Richard committed Oct 19, 2016
1 parent 1ec4a7f commit 8b87a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worlds/planet/geosphere/tasks/PlateTectonicsTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ private void collide(PlanetCell cell, Point direction) {
geosphere.release(workingCells);
}

private boolean directionsChanged(Point cellAVel, Point cellBVel,
public boolean directionsChanged(Point cellAVel, Point cellBVel,
Point beforeNegAVel, Point beforeNegBVel) {
boolean xDirAChanged = (cellAVel.getX() * beforeNegAVel.getX()) < 0;
boolean yDirAChanged = (cellAVel.getY() * beforeNegAVel.getY()) < 0;
Expand Down

0 comments on commit 8b87a7f

Please sign in to comment.