summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-19 17:06:39 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-19 17:06:39 +0100
commita3ba9b4271c053adfcec88fecba8e444440635d2 (patch)
treee70d41ce958e4c6976188b72c9dc0294fc509b38
parent747402dd451f77bbdcaa8ea0320268778bfdca63 (diff)
downloadRustAndDust-a3ba9b4271c053adfcec88fecba8e444440635d2.zip
RustAndDust-a3ba9b4271c053adfcec88fecba8e444440635d2.tar.gz
add engine/Meteorology
-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;
+ }
+}