Classes
The following classes are available globally.
-
Undocumented
See more
-
Manages a set of game systems that implement the
See moreISystem
protocol and theEntity
objects that interact with those systems.Declaration
Swift
public class EntityController
-
Factory class that produces
See moreEntity
objects and theIComponent
instances with which they are associated.@@TODO: describe configurationDeclaration
Swift
public class EntityFactory
-
A component for existential (and semi-existential) traits.
See moreDeclaration
Swift
public final class ExistentialComponent: IComponent, IConfigBuildable
-
Manages entities that have existential traits (name, HP).
See moreDeclaration
Swift
public class ExistentialSystem: ISystem
-
Undocumented
See more
-
A component that provides its
See moreEntity
with anSKNode
.Declaration
Swift
public final class NodeComponent: IComponent, IConfigBuildable
-
Manages entities that have a corresponding
See moreSKNode
.Declaration
Swift
public class NodeSystem: ISystem
-
A system that serves as the
See moreSKPhysicsContactDelegate
for a scene. It provides two signals:didBeginContact
anddidEndContact
, which fire any time there is a physics contact in the scene. These signals can be filtered to obtain only a particular subset of the scene’s contact events.Declaration
Swift
public class PhysicsSystem: NSObject, ISystem, SKPhysicsContactDelegate
-
A component containing a position as a
See moreCGPoint
.Declaration
Swift
public final class PositionComponent: IComponent, IConfigBuildable
-
Manages entities that have a position expressed as a
See moreCGPoint
.Declaration
Swift
public class PositionSystem: ISystem
-
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
See more
-
Undocumented
See more