aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/minigames/geisha/oko.cpp
diff options
context:
space:
mode:
authorSven Hesse2012-01-28 22:55:12 +0100
committerSven Hesse2012-01-28 22:55:12 +0100
commit1eb7c7507bce6bbad0eb8eb2badd6492320a5908 (patch)
tree6466c1e41b81a2e0199482c50440a2d06db782c9 /engines/gob/minigames/geisha/oko.cpp
parent0627a4244d6af625569df0445108a9c0056ca833 (diff)
downloadscummvm-rg350-1eb7c7507bce6bbad0eb8eb2badd6492320a5908.tar.gz
scummvm-rg350-1eb7c7507bce6bbad0eb8eb2badd6492320a5908.tar.bz2
scummvm-rg350-1eb7c7507bce6bbad0eb8eb2badd6492320a5908.zip
GOB: Minor cleanup
Diffstat (limited to 'engines/gob/minigames/geisha/oko.cpp')
-rw-r--r--engines/gob/minigames/geisha/oko.cpp4
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