addEntity

actual fun addEntity(entity: Entity)

Adds a single entity to this scene.

A Renderable entity added to a Scene can be rendered when the Scene is rendered. Adding the same entity twice has no effect.

Parameters

entity

The entity to add

expect fun addEntity(entity: Entity)

Adds a single entity to this scene.

A Renderable entity added to a Scene can be rendered when the Scene is rendered. Adding the same entity twice has no effect.

Parameters

entity

The entity to add

actual fun addEntity(entity: Entity)

Adds a single entity to this scene.

A Renderable entity added to a Scene can be rendered when the Scene is rendered. Adding the same entity twice has no effect.

Parameters

entity

The entity to add

actual fun addEntity(entity: Entity)

Adds a single entity to this scene.

A Renderable entity added to a Scene can be rendered when the Scene is rendered. Adding the same entity twice has no effect.

Parameters

entity

The entity to add

actual fun addEntity(entity: Entity)

Adds a single entity to this scene.

A Renderable entity added to a Scene can be rendered when the Scene is rendered. Adding the same entity twice has no effect.

Parameters

entity

The entity to add