Esempio n. 1
0
 public static void UnselectAgent(LSAgent agent)
 {
     if (agent.IsNotNull())
     {
         Selector.Remove(agent);
     }
 }
Esempio n. 2
0
 public static void SelectAgent(LSAgent agent)
 {
     if (agent.IsNotNull())
     {
         Selector.Add(agent);
     }
 }
Esempio n. 3
0
        private static void MouseOver(LSAgent agent)
        {
            if (MousedAgent.RefEquals(agent))
            {
                return;
            }

            if (MousedAgent.IsNotNull())
            {
                MousedAgent.IsHighlighted = false;
            }

            MousedAgent = agent;

            if (agent.IsNotNull())
            {
                if (SelectionManager.Boxing == false)
                {
                    agent.IsHighlighted = true;
                }
            }
        }