mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/data/weather.rs')
-rw-r--r--src/data/weather.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/data/weather.rs b/src/data/weather.rs
new file mode 100644
index 0000000..8df9f59
--- /dev/null
+++ b/src/data/weather.rs
@@ -0,0 +1,10 @@
+//! weathers
+//!
+//! [source](https://github.com/Anuken/Mindustry/blob/master/core/src/mindustry/content/Weathers.java)
+use crate::content::numeric_enum;
+
+numeric_enum! {
+ pub enum Weather for u8 | TryFromU8Error {
+ Snow, Rain, Sandstorm, Sporestorm, Fog, SuspendParticles
+ }
+}