/// <summary> /// Remove a building from the data /// </summary> /// <param name="value">the instance to remove.</param> public void Remove(BatchClass value) { if (renderesData.Contains(value)) { renderesData.Remove(value); } }
/// <summary> /// Add a building to the data /// </summary> /// <param name="value">what building to add</param> /// <returns>instance of the building</returns> public BatchClass Add(BatchClass value) { renderesData.Add(value); return(renderesData[renderesData.Count - 1]); }