Extensions
The following extensions are available globally.
-
A component for existential (and semi-existential) traits.
See moreDeclaration
Swift
public final class ExistentialComponent : IComponent, IConfigBuildable
-
A component containing a position as a
See moreCGPoint
.Declaration
Swift
public final class PositionComponent : IComponent, IConfigBuildable
-
A component providing its
See moreEntity
with anSKSpriteNode
. The sprite node is automatically added to theEntity
’sSKNode
(which it acquires fromNodeComponent
).Required components:NodeComponent
Declaration
Swift
public final class SpriteComponent : IComponent, IConfigBuildable
-
Undocumented