public void AddIgnoreObject(Game_Object go) { if (m_vIgnoredObjects == null) { m_vIgnoredObjects = new List <int>(); } m_vIgnoredObjects.Add(go.GlobalId); }
public bool TestGameObject(Game_Object go) { var result = true; if (m_vIgnoredObjects != null) { result = m_vIgnoredObjects.IndexOf(go.GlobalId) == -1; } return(result); }
public Component(Game_Object parent) { IsEnabled = true; Parent = parent; }