hasComponent

actual fun hasComponent(entity: Entity): Boolean

Checks if an entity has a transform component.

Return

true if the entity has a transform component, false otherwise

Parameters

entity

The entity to check

expect fun hasComponent(entity: Entity): Boolean

Checks if an entity has a transform component.

Return

true if the entity has a transform component, false otherwise

Parameters

entity

The entity to check

actual fun hasComponent(entity: Entity): Boolean

Checks if an entity has a transform component.

Return

true if the entity has a transform component, false otherwise

Parameters

entity

The entity to check

actual fun hasComponent(entity: Entity): Boolean

Checks if an entity has a transform component.

Return

true if the entity has a transform component, false otherwise

Parameters

entity

The entity to check

actual fun hasComponent(entity: Entity): Boolean

Checks if an entity has a transform component.

Return

true if the entity has a transform component, false otherwise

Parameters

entity

The entity to check