Class EntityContainer<T>
- Namespace
- Macad.Core.Topology
- Assembly
- Macad.Core.dll
public class EntityContainer<T> : Entity where T : Entity
- Inheritance
-
EntityContainer<T>
- Derived
-
Constructors
Properties
public int EntityCount { get; }
- Property Value: int
Methods
public virtual void Add(T entity, bool update = true)
entity T
update bool
public virtual T Get(int index)
index int
- Returns: T
public IEnumerator<T> GetEnumerator()
- Returns: IEnumerator<T>
public virtual int IndexOf(T entity)
entity T
- Returns: int
public override void Remove()
public virtual void Remove(T entity, bool update = true)
entity T
update bool
Events
public event NotifyCollectionChangedEventHandler CollectionChanged
- Event Type: NotifyCollectionChangedEventHandler