public void CopyFrom(AgentMarker other) { PositionInMap = other.PositionInMap; PositionInWidget = other.PositionInWidget; AgentMarkerType = other.AgentMarkerType; _agent = other._agent; }
public void Add(AgentMarker agentMarker) { if (CountOfAgentMarkers == AgentMarkers.Count) { AgentMarkers.Add(new AgentMarker(agentMarker)); } else { AgentMarkers[CountOfAgentMarkers].CopyFrom(agentMarker); } ++CountOfAgentMarkers; }
public AgentMarker(AgentMarker other) { CopyFrom(other); }