diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-19 17:06:39 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-19 17:06:39 +0100 |
commit | a3ba9b4271c053adfcec88fecba8e444440635d2 (patch) | |
tree | e70d41ce958e4c6976188b72c9dc0294fc509b38 /core/src | |
parent | 747402dd451f77bbdcaa8ea0320268778bfdca63 (diff) | |
download | RustAndDust-a3ba9b4271c053adfcec88fecba8e444440635d2.zip RustAndDust-a3ba9b4271c053adfcec88fecba8e444440635d2.tar.gz |
add engine/Meteorology
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/Meteorology.java | 24 |
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; + } +} |