示例#1
0
 public Boolean removeObjectFromList(clsGameObject Object)
 {
     if (GameObjectList.Contains(Object) == true)
     {
         GameObjectList.Remove(Object);
         return(true);
     }
     else
     {
         return(false);
     }
 }
示例#2
0
 public clsGameObject addObjectToList(clsGameObject Object)
 {
     GameObjectList.Add(Object);
     return(this);
 }