summaryrefslogtreecommitdiffstats
path: root/src/Blocks/WorldInterface.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-05-29 17:58:40 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-05-29 17:58:40 +0200
commitcea3a8e7e8cbf45f709ec63a096cf07b92c87073 (patch)
treefb328b55909c4d0e8f861f8fddf86d10a2bf860f /src/Blocks/WorldInterface.h
parentCmake system name not System name (diff)
downloadcuberite-cea3a8e7e8cbf45f709ec63a096cf07b92c87073.tar
cuberite-cea3a8e7e8cbf45f709ec63a096cf07b92c87073.tar.gz
cuberite-cea3a8e7e8cbf45f709ec63a096cf07b92c87073.tar.bz2
cuberite-cea3a8e7e8cbf45f709ec63a096cf07b92c87073.tar.lz
cuberite-cea3a8e7e8cbf45f709ec63a096cf07b92c87073.tar.xz
cuberite-cea3a8e7e8cbf45f709ec63a096cf07b92c87073.tar.zst
cuberite-cea3a8e7e8cbf45f709ec63a096cf07b92c87073.zip
Diffstat (limited to 'src/Blocks/WorldInterface.h')
-rw-r--r--src/Blocks/WorldInterface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Blocks/WorldInterface.h b/src/Blocks/WorldInterface.h
index bfbb053d9..08600d502 100644
--- a/src/Blocks/WorldInterface.h
+++ b/src/Blocks/WorldInterface.h
@@ -37,4 +37,7 @@ public:
virtual void SetTimeOfDay(Int64 a_TimeOfDay) = 0;
+ /** Returns true if the current weather has any precipitation - rain or storm */
+ virtual bool IsWeatherWet(void) const = 0;
+
};