126 bool mTutorial =
false;
132 #endif // LEVELINFO_H
void tutorialChanged()
Emitted when tutorial changes.
void nameChanged()
Emitted when name changes.
void fileNameChanged()
Emitted when fileName changes.
bool tutorial
Whether or not the Level is a tutorial level.
Definition: LevelInfo.h:45
const QString & getName() const
Returns name.
Definition: LevelInfo.h:67
void setTutorial(bool value)
Sets tutorial.
Metadata for a Level.
Definition: LevelInfo.h:31
Environment * getEnvironment() const
Returns environment.
QString name
Human-readable name of the Level.
Definition: LevelInfo.h:37
Environment environment
Environment to which this LevelInfo belongs, or null if defined out of the context of an Environment...
Definition: LevelInfo.h:55
void screenshotFileNameChanged()
Emitted when screenshotFileName changes.
void setName(const QString &value)
Sets name.
bool isTutorial() const
Returns tutorial.
Definition: LevelInfo.h:85
const QString & getFileName() const
Returns fileName.
Definition: LevelInfo.h:76
QString screenshotFileName
Name of image asset file for the Level screenshot / thumbnail.
Definition: LevelInfo.h:50
void setScreenshotFileName(const QString &value)
Sets screenshotFileName.
void setFileName(const QString &value)
Sets fileName.
const QString & getScreenshotFileName() const
Returns screenshotFileName.
Definition: LevelInfo.h:94
Grouping of related LevelInfos together into an logical, ordered list.
Definition: Environment.h:37
QString fileName
Name of QML level file to be used for loading the Level.
Definition: LevelInfo.h:41