Commit 05d49351 authored by patrick.lambert's avatar patrick.lambert
Browse files

BAsinNetwork instead of GridBasinNetwork

parent 99d7f07e
......@@ -244,7 +244,7 @@ public class Basin implements Position, Comparable<Basin> {
public double getCurrentTemperature(Pilot pilot) {
Time time = ((GridBasinNetwork) pilot.getAquaticWorld().getEnvironment()).getTime();
Time time = ((BasinNetwork) pilot.getAquaticWorld().getEnvironment()).getTime();
if (time.getSeason(pilot) == Season.WINTER) {
return (winterTemperature);
} else if (time.getSeason(pilot) == Season.SPRING) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment