Name

extension KeyboardShortcuts.Name
  • The shortcut that corresponds moving the player up. Defaults to W.

    Declaration

    Swift

    static let moveUp: KeyboardShortcuts.Name
  • The shortcut that corresponds to moving the player down. Defaults to S.

    Declaration

    Swift

    static let moveDown: KeyboardShortcuts.Name
  • The shortcut that corresponds to moving the player left. Defaults to A.

    Declaration

    Swift

    static let moveLeft: KeyboardShortcuts.Name
  • The shortcut that corresponds to moving the player right. Defaults to D.

    Declaration

    Swift

    static let moveRight: KeyboardShortcuts.Name
  • The shortcut that corresponds to switching to the previous costume. Defaults to G.

    Declaration

    Swift

    static let previousCostume: KeyboardShortcuts.Name
  • The shortcut that corresponds to switching to the next costume. Defaults to F.

    Declaration

    Swift

    static let nextCostume: KeyboardShortcuts.Name
  • use

    The shortcut that corresponds to using an item. Defaults to E.

    Declaration

    Swift

    static let use: KeyboardShortcuts.Name
  • The shortcut that corresponds to making a copy of the player. Defaults to C.

    Declaration

    Swift

    static let copy: KeyboardShortcuts.Name
  • The shortcut that corresponds to opening the pause menu. Defaults to Escape.

    Note

    In its current implementation, this key cannot be changed.

    Declaration

    Swift

    static let pause: KeyboardShortcuts.Name