Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SimAquaLife
GR3D
Commits
05d49351
Commit
05d49351
authored
Aug 08, 2020
by
patrick.lambert
Browse files
BAsinNetwork instead of GridBasinNetwork
parent
99d7f07e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/environment/Basin.java
View file @
05d49351
...
...
@@ -244,7 +244,7 @@ public class Basin implements Position, Comparable<Basin> {
public
double
getCurrentTemperature
(
Pilot
pilot
)
{
Time
time
=
((
Grid
BasinNetwork
)
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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment