diff options
author | Sven Hesse | 2012-01-28 19:45:02 +0100 |
---|---|---|
committer | Sven Hesse | 2012-01-28 19:45:02 +0100 |
commit | 0eeae6e59e49dbcd72a646a1be0d77aa962e7959 (patch) | |
tree | 27f483e44c6dbfd57e526266ac61da2cd1d96c3e /engines/gob/minigames/geisha/evilfish.h | |
parent | 60306c40ac8ec733fb7ec45ea61f91de245ab02e (diff) | |
download | scummvm-rg350-0eeae6e59e49dbcd72a646a1be0d77aa962e7959.tar.gz scummvm-rg350-0eeae6e59e49dbcd72a646a1be0d77aa962e7959.tar.bz2 scummvm-rg350-0eeae6e59e49dbcd72a646a1be0d77aa962e7959.zip |
GOB: Oko gets hurt by fish and dies if health == 0
Diffstat (limited to 'engines/gob/minigames/geisha/evilfish.h')
-rw-r--r-- | engines/gob/minigames/geisha/evilfish.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/gob/minigames/geisha/evilfish.h b/engines/gob/minigames/geisha/evilfish.h index 223645f47f..81efb676e2 100644 --- a/engines/gob/minigames/geisha/evilfish.h +++ b/engines/gob/minigames/geisha/evilfish.h @@ -42,9 +42,6 @@ public: uint16 animTurnLeft, uint16 animTurnRight, uint16 animDie); ~EvilFish(); - /** Are there coordinates within the fish's sprite? */ - bool isIn(int16 x, int16 y) const; - /** Enter from this direction / screen edge. */ void enter(Direction from, int16 y); /** Leave the screen in the current direction. */ @@ -60,6 +57,9 @@ public: void mutate(uint16 animSwimLeft, uint16 animSwimRight, uint16 animTurnLeft, uint16 animTurnRight, uint16 animDie); + /** Is the fish dead? */ + bool isDead(); + private: enum State { kStateNone, |