mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
Merge pull request #422 from birarda/owner-pointers
provide a getter for the owning agent
This commit is contained in:
commit
007e9fe447
1 changed files with 3 additions and 0 deletions
|
@ -14,8 +14,11 @@ class Agent;
|
|||
class AgentData {
|
||||
public:
|
||||
AgentData(Agent* owningAgent);
|
||||
|
||||
virtual ~AgentData() = 0;
|
||||
virtual int parseData(unsigned char* sourceBuffer, int numBytes) = 0;
|
||||
|
||||
Agent* getOwningAgent() { return _owningAgent; }
|
||||
protected:
|
||||
Agent* _owningAgent;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue