hasEntity

fun hasEntity(entity: Entity): Boolean

Tests whether an entity is in this scene.

Return

true if the entity is in this scene, false otherwise

Parameters

entity

The entity to test