public void AddObject(GameObject gameObject) { if (contentManager != null) gameObject.LoadContent(contentManager); objectsToAdd.Add(gameObject); }
public void RemoveObject(GameObject gameObject) { objectsToRemove.Add(gameObject); }
public void AddObject(GameObject gameObject) { if (contentManager != null) gameObject.LoadContent(contentManager); objectsToAdd.Add(gameObject); }
public void RemoveObject(GameObject gameObject) { objectsToRemove.Add(gameObject); }