summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Meteorology.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Meteorology.java b/core/src/ch/asynk/tankontank/engine/Meteorology.java
new file mode 100644
index 0000000..4ece6ce
--- /dev/null
+++ b/core/src/ch/asynk/tankontank/engine/Meteorology.java
@@ -0,0 +1,24 @@
+package ch.asynk.tankontank.engine;
+
+public class Meteorology
+{
+ public enum Day { DAY, NIGHT };
+ public enum Season { SUMMER, SPRING, WINTER, FALL };
+ public enum Weather { CLEAR, RAIN, SNOW, WIND };
+
+ public Day day;
+ public Season season;
+ public Weather weather;
+
+ public Meteorology()
+ {
+ clear();
+ }
+
+ public void clear()
+ {
+ day = Day.DAY;
+ season = Season.SUMMER;
+ weather = Weather.CLEAR;
+ }
+}