Exemplo n.º 1
0
 public void AddIgnoreObject(Game_Object go)
 {
     if (m_vIgnoredObjects == null)
     {
         m_vIgnoredObjects = new List <int>();
     }
     m_vIgnoredObjects.Add(go.GlobalId);
 }
Exemplo n.º 2
0
        public bool TestGameObject(Game_Object go)
        {
            var result = true;

            if (m_vIgnoredObjects != null)
            {
                result = m_vIgnoredObjects.IndexOf(go.GlobalId) == -1;
            }
            return(result);
        }
Exemplo n.º 3
0
 public Component(Game_Object parent)
 {
     IsEnabled = true;
     Parent    = parent;
 }