createUniqueEntity method

WorldEntity<Object> createUniqueEntity()

Creates a new WorldEntity with a unique ID.

Implementation

WorldEntity createUniqueEntity() => WorldEntity._(_newUniqueId(), this);