public void addEntity ( Entity entity ) { boolean delayed = updating || familyManager . notifying ( ) ; entityManager . addEntity ( entity , delayed ) ; }
Adds an entity to this Engine . This will throw an IllegalArgumentException if the given entity was already registered with an engine .