hasComponent

actual fun hasComponent(entity: Entity): Boolean

Checks if the given entity already has a renderable component.

Return

true if the entity has a renderable component

Parameters

entity

the entity to check

expect fun hasComponent(entity: Entity): Boolean

Checks if the given entity already has a renderable component.

Return

true if the entity has a renderable component

Parameters

entity

the entity to check

actual fun hasComponent(entity: Entity): Boolean

Checks if the given entity already has a renderable component.

Return

true if the entity has a renderable component

Parameters

entity

the entity to check

actual fun hasComponent(entity: Entity): Boolean

Checks if the given entity already has a renderable component.

Return

true if the entity has a renderable component

Parameters

entity

the entity to check

actual fun hasComponent(entity: Entity): Boolean

Checks if the given entity already has a renderable component.

Return

true if the entity has a renderable component

Parameters

entity

the entity to check