Images
struct Images
Struct containing descriptions of each character and the different types of images available.
As new scenes are added, this static data should be updated. Each character should be represented as a descriptive constant, and should reference a tuple describing the images and referencing their file name.
** Image files for StorySequencePlayer should be in the following format:
CharacterName^Version
The carot ^ is necessary for StorySequencePlayer. The first half (CharacterName) must be the same for all images of the same character. The second half (Version) should be descriptive, such as mood.
** Any changes to this struct need to be reflected in the PowerUp Story Designer web app.
-
Undocumented
Declaration
Swift
let testChar: (normal: String, happy: String, smiling: String, talking: String, lecturing: String, sad: String, scared: String, upset: String, dazed: String, whatever: String, tired: String)
-
Undocumented
Declaration
Swift
let testChar2: (normal: String, happy: String, smiling: String, talking: String, lecturing: String, sad: String, scared: String, upset: String, dazed: String, whatever: String, tired: String)
-
Undocumented
Declaration
Swift
let testChar3: (normal: String, empty: String)
-
Undocumented
Declaration
Swift
let misc: (dataExample: String, empty: String)