Other Classes
The following classes are available globally.
-
An observable class that handles state recording for machine learning.
See moreDeclaration
Swift
class StateRecorderViewModel : ObservableObject
-
A class that represents a death pit.
See moreDeclaration
Swift
class GameDeathPit : GameTileSpriteNode
-
A structured sprite node with a child for a physics body.
This class is used to create objects with physics bodies that need to be pinned so that they don’t move.
Note
Currently, static sprites suffer from a drifting issue. Details on this issue can be found on the Apple Developer Forums.Declaration
Swift
public class GameStructureObject : GameTileSpriteNode
-
A special subclass of a sprite node that contains a special field for matrix positioning.
See moreDeclaration
Swift
public class GameTileSpriteNode : SKSpriteNode
-
Model Prediction Input Type
See moreDeclaration
Swift
@available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *) class TealConverseInput : MLFeatureProvider
-
Model Prediction Output Type
See moreDeclaration
Swift
@available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *) class TealConverseOutput : MLFeatureProvider
-
Class for model loading and prediction
See moreDeclaration
Swift
@available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *) class TealConverse