add wraparound support to C2 physics
[openc2e.git] / ser / s_AgentRef.h
blob76beb87d9856e0b6a84d7643861ab75cc0e683cd
1 #ifndef SER_AGENTREF_H
2 #define SER_AGENTREF_H 1
4 #include "serialization.h"
5 #include "ser/s_Agent.h" // This loop is safe; template instantiation is deferred
6 #include "AgentRef.h"
8 LOAD(AgentRef) {
9 Agent *agent;
10 ar & agent;
11 obj.set(agent);
14 SAVE(AgentRef) {
15 Agent *a = obj.get();
16 ar & a;
19 #endif