Instance Method

addEntity:

Adds a GameplayKit entity to the list of entities managed by the scene.

Declaration

- (void)addEntity:(GKEntity *)entity;

Parameters

entity

The entity to be added to the scene.

See Also

Managing Entities and Components

entities

The list of GameplayKit entities managed by the scene.

- removeEntity:

Removes a GameplayKit entity from the list of entities managed by the scene.