public AgentType(AgentType agent) { this.position = agent.position; this.refPosition = agent.refPosition; }