예제 #1
0
 public void CopyFrom(AgentMarker other)
 {
     PositionInMap    = other.PositionInMap;
     PositionInWidget = other.PositionInWidget;
     AgentMarkerType  = other.AgentMarkerType;
     _agent           = other._agent;
 }
예제 #2
0
 public void Add(AgentMarker agentMarker)
 {
     if (CountOfAgentMarkers == AgentMarkers.Count)
     {
         AgentMarkers.Add(new AgentMarker(agentMarker));
     }
     else
     {
         AgentMarkers[CountOfAgentMarkers].CopyFrom(agentMarker);
     }
     ++CountOfAgentMarkers;
 }
예제 #3
0
 public AgentMarker(AgentMarker other)
 {
     CopyFrom(other);
 }