Class Entity<TEntity>
- Namespace
- MonkeyLoader.Components
- Assembly
- MonkeyLoader.dll
Represents a basic base for IEntity<TEntity> instances, that IComponent<TEntity> instances can belong to.
public abstract class Entity<TEntity> : IEntity<TEntity>, IEnumerable<IComponent<TEntity>>, IEnumerable where TEntity : Entity<TEntity>
Type Parameters
TEntity
The type of the entity.
- Inheritance
-
Entity<TEntity>
- Implements
-
IEntity<TEntity>IEnumerable<IComponent<TEntity>>
- Derived
- Inherited Members
- Extension Methods
Constructors
Entity()
Creates a new entity instance, using this
as the
Entity for the
component list.
protected Entity()
Properties
Components
Gets this entity's component list.
public IComponentList<TEntity> Components { get; }
Property Value
- IComponentList<TEntity>