EntityContainer

interface EntityContainer

Something that contains entities.

Inheritors

Functions

Link copied to clipboard
abstract fun <E : Entity> getEntitiesOfType(type: Class<E>): Collection<E>

Gets all entities of the given type contained within this container.

abstract fun <E : Entity> getEntitiesOfType(type: Class<E>, predicate: Predicate<E>): Collection<E>

Gets all entities of the given type matching the given predicate contained within this container.

Properties

Link copied to clipboard
abstract val entities: Collection<Entity>

All entities contained within this container.

Link copied to clipboard
abstract val players: Collection<Player>

All players contained within this container.