Level - Ben-Stacey/COSC345 GitHub Wiki

Level

Struct that finds the data that will be displayed in the Drag and Drop game

public struct Level 

Initializers

init(levelNumber:)

Initialser method searches through the .plist file to get the required information for the game

init(levelNumber: Int) 

Parameters

  • LevelNumber: This gets the strings from the .plist files that are then displayed into the game

Properties

sentence

let sentence: [NSArray]