GameMode

enum GameMode {}

GameMode is the current mode of the User playing the game.

  • Game is being previewed – will not modify the GameData.

    Declaration

    Objective-C

    GameModePreview

    Swift

    case preview = 0
  • Game is being created on a preset difficulty – will not modify the GameData

    Declaration

    Objective-C

    GameModeCreating

    Swift

    case creating = 1
  • Game is being created on ‘Challenge’ difficulty – will modify the GameData

    Declaration

    Objective-C

    GameModeCreatingChallenge

    Swift

    case creatingChallenge = 2
  • Game is being claimed – will modify the gameData

    Declaration

    Objective-C

    GameModeClaiming

    Swift

    case claiming = 3
  • Game has been claimed and is being replayed – will modify the gameData

    Declaration

    Objective-C

    GameModeClaimed

    Swift

    case claimed = 4