Other Classes

The following classes are available globally.

  • A subclass of a challenge game scene that allows users to record states.

    See more

    Declaration

    Swift

    class AIRecordableGameScene : GameScene
  • An observable class that handles state recording for machine learning.

    See more

    Declaration

    Swift

    class StateRecorderViewModel : ObservableObject
  • A class that represents a death pit.

    See more

    Declaration

    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.
    See more

    Declaration

    Swift

    public class GameStructureObject : GameTileSpriteNode
  • A special subclass of a sprite node that contains a special field for matrix positioning.

    See more

    Declaration

    Swift

    public class GameTileSpriteNode : SKSpriteNode
  • Model Prediction Input Type

    See more

    Declaration

    Swift

    @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
    class TealConverseInput : MLFeatureProvider
  • Model Prediction Output Type

    See more

    Declaration

    Swift

    @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
    class TealConverseOutput : MLFeatureProvider
  • Class for model loading and prediction

    See more

    Declaration

    Swift

    @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
    class TealConverse