aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/actor.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/teenagent/actor.h')
-rw-r--r--engines/teenagent/actor.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/teenagent/actor.h b/engines/teenagent/actor.h
index 5e13af10ea..9a7d395547 100644
--- a/engines/teenagent/actor.h
+++ b/engines/teenagent/actor.h
@@ -22,6 +22,10 @@
#include "teenagent/animation.h"
#include "common/rect.h"
+namespace Common {
+class RandomSource;
+}
+
namespace TeenAgent {
class Actor : public Animation {
@@ -30,7 +34,7 @@ class Actor : public Animation {
public:
Actor();
Common::Rect render(Graphics::Surface *surface, const Common::Point &position, uint8 orientation, int delta_frame, bool head, uint zoom);
- Common::Rect renderIdle(Graphics::Surface *surface, const Common::Point &position, uint8 orientation, int delta_frame, uint zoom);
+ Common::Rect renderIdle(Graphics::Surface *surface, const Common::Point &position, uint8 orientation, int delta_frame, uint zoom, Common::RandomSource &rnd);
};
} // End of namespace TeenAgent