diff options
| author | Kris Parker | 2009-11-18 11:36:00 +0000 |
|---|---|---|
| committer | Kris Parker | 2009-11-18 11:36:00 +0000 |
| commit | d96c73f6acc9abc735be89709a02938c832c87b2 (patch) | |
| tree | c872d5c3c4c45ced21f184e3460013a96a59599c /BlockCondition.h | |
| parent | f58374b74b2bc77a71118889b57c46f943ebae02 (diff) | |
| download | stonesense-d96c73f6acc9abc735be89709a02938c832c87b2.tar.gz stonesense-d96c73f6acc9abc735be89709a02938c832c87b2.tar.bz2 stonesense-d96c73f6acc9abc735be89709a02938c832c87b2.tar.xz | |
support for water-level based buildings
Diffstat (limited to 'BlockCondition.h')
| -rw-r--r-- | BlockCondition.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/BlockCondition.h b/BlockCondition.h index ee1ee07..7906b0a 100644 --- a/BlockCondition.h +++ b/BlockCondition.h @@ -205,3 +205,13 @@ class HaveFloorCondition : public BlockCondition bool Matches(Block* b);
};
+class FluidBelowCondition : public BlockCondition
+{
+ public:
+ FluidBelowCondition(const char* strValue);
+ ~FluidBelowCondition(void){};
+
+ int value;
+ bool Matches(Block* b);
+};
+
|
