X-Git-Url: https://git.octo.it/?p=supertux.git;a=blobdiff_plain;f=src%2Fbadguy%2Fbadguy.hpp;h=092ff54c84099338cbf7d4bdc733e58d9e4d7732;hp=8e9670b290dbfe11e3fb062719acba910a35fcaf;hb=092556fd403b1464402c741f949c48f04f628ee8;hpb=5ffb9d8d9f645196677e303752461cdfd7693c36 diff --git a/src/badguy/badguy.hpp b/src/badguy/badguy.hpp index 8e9670b29..092ff54c8 100644 --- a/src/badguy/badguy.hpp +++ b/src/badguy/badguy.hpp @@ -96,6 +96,8 @@ public: bool is_frozen() const; + bool is_in_water() const; + protected: enum State { STATE_INIT, @@ -212,6 +214,7 @@ protected: bool frozen; bool ignited; /**< true if this badguy is currently on fire */ + bool in_water; /** < true if the badguy is currently in water */ std::string dead_script; /**< script to execute when badguy is killed */