mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 18:23:22 +02:00
provide a getter for the owning agent in AgentData
This commit is contained in:
parent
81307939d4
commit
6158410658
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