summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/rustanddust/engine/Meteorology.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/Meteorology.java b/core/src/ch/asynk/rustanddust/engine/Meteorology.java
index 9addf63..6785e0f 100644
--- a/core/src/ch/asynk/rustanddust/engine/Meteorology.java
+++ b/core/src/ch/asynk/rustanddust/engine/Meteorology.java
@@ -15,6 +15,11 @@ public class Meteorology
clear();
}
+ public boolean isNight()
+ {
+ return (this.day == Day.NIGHT);
+ }
+
public void clear()
{
day = Day.DAY;