Entity constructor

Entity(
  1. EntityManager _entityManager
)

Implementation

Entity(this._entityManager) : id = _entityManager._nextEntityId++;