diff options
Diffstat (limited to 'engines/gob/minigames/geisha/oko.cpp')
-rw-r--r-- | engines/gob/minigames/geisha/oko.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/gob/minigames/geisha/oko.cpp b/engines/gob/minigames/geisha/oko.cpp index 1e90b1f8bf..7ad8be6fa2 100644 --- a/engines/gob/minigames/geisha/oko.cpp +++ b/engines/gob/minigames/geisha/oko.cpp @@ -161,6 +161,10 @@ bool Oko::isBreathing() const { return (_state == kStateBreathe) && ((getFrame() >= 9) && (getFrame() <= 30)); } +bool Oko::isMoving() const { + return (_state != kStateBreathe) && (_state != kStateHurt) && (_state != kStateDead); +} + } // End of namespace Geisha } // End of namespace Gob |