Etterna 0.74.4
Loading...
Searching...
No Matches
ActorProxy.h
1#ifndef ACTOR_PROXY_H
2#define ACTOR_PROXY_H
3
4#include "Actor.h"
5
6struct lua_State;
8class ActorProxy : public Actor
9{
10 public:
11 ActorProxy();
12
13 virtual bool EarlyAbortDraw() const;
14 virtual void DrawPrimitives();
15
16 void LoadFromNode(const XNode* pNode);
17 virtual ActorProxy* Copy() const;
18
19 Actor* GetTarget() { return m_pActorTarget; }
20 void SetTarget(Actor* pTarget) { m_pActorTarget = pTarget; }
21
22 // Lua
23 virtual void PushSelf(lua_State* L);
24
25 private:
26 Actor* m_pActorTarget;
27};
28
29#endif
Renders another actor.
Definition ActorProxy.h:9
virtual void DrawPrimitives()
Draw the primitives of the Actor.
Definition ActorProxy.cpp:19
virtual bool EarlyAbortDraw() const
Allow the Actor to be aborted early.
Definition ActorProxy.cpp:13
Base class for all objects that appear on the screen.
Definition Actor.h:77
Definition XmlFile.h:95