public Boolean removeObjectFromList(clsGameObject Object) { if (GameObjectList.Contains(Object) == true) { GameObjectList.Remove(Object); return(true); } else { return(false); } }
public clsGameObject addObjectToList(clsGameObject Object) { GameObjectList.Add(Object); return(this); }