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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/teenagent/actor.h b/engines/teenagent/actor.h
index 9a7d395547..a2b8ef3d6a 100644
--- a/engines/teenagent/actor.h
+++ b/engines/teenagent/actor.h
@@ -28,11 +28,18 @@ class RandomSource;
namespace TeenAgent {
+class TeenAgentEngine;
+
class Actor : public Animation {
+private:
+ TeenAgentEngine *_vm;
+
uint head_index;
uint idle_type;
+
public:
- Actor();
+ Actor(TeenAgentEngine *vm);
+
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::RandomSource &rnd);
};