AboutScene

class AboutScene : SKScene

The SpriteKit scene class for the about screen.

  • The label node that corresponds to the back button.

    Declaration

    Swift

    var backButton: SKLabelNode?
  • The label node that corresponds to the title of the game.

    Declaration

    Swift

    var title: SKLabelNode?
  • The label node that corresponds to the version string.

    Declaration

    Swift

    var versionString: SKLabelNode?
  • Set up the about scene and fill in the appropriate data.

    Declaration

    Swift

    override func sceneDidLoad()
  • Listen for any clicks and respond when the user presses the back button.

    Declaration

    Swift

    override func mouseDown(with event: NSEvent)
  • Listen for keyboard events and go back when the user presses the escape key.

    Declaration

    Swift

    override func keyDown(with event: NSEvent)