Interface IEntityIdProvider
Defines an interface to entity provider which provides unique ids for IBaseSceneEntity
Implements
Namespace:
Assembly: .dll
Syntax
public interface IEntityIdProvider extends ICleanable
Methods
getEntityId()
Gets the next available Entity ID.
Declaration
public abstract int getEntityId()
Returns
Type | Description |
---|---|
int | The entity id |
releaseEntityId(int entityId)
Releases id and puts it back into pool of ids
Declaration
public abstract void releaseEntityId(int entityId)
Parameters
Type | Name | Description |
---|---|---|
int | entityId | The entity id to release |