This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
classLevel : publicQGLWidget//QWidget <--To use without openGL
classLevel : publicQWidget//QWidget <--To use without openGL
{
Q_OBJECT
public:
explicitLevel(QRect geometry,QString level,RunFlag flag = STANDARD,bool multiWindow=false,QWidget *parent = 0); //Geometry is needed to have the display dimension information, level is the level to load
explicitLevel(QRect geometry,QString level,BackGroundWidget *bg,RunFlag flag = STANDARD,bool multiWindow=false,QWidget *parent = 0); //Geometry is needed to have the display dimension information, level is the level to load
~Level();
//Function to start the level;
boolstartLevel();
private:
float scale;
//Run type flag
@@ -108,6 +111,7 @@ class Level : public QGLWidget //QWidget <--To use without openGL
// bool parseString(QString string); //Split a line of the file in the two component the tag and the real information
// bool parseInfo(QString tag,QString info); //Recognize the tag and use the info
BackGroundWidget * backGroundWidget; //This is a widget to draw the semi-static ground and background.
//INITIALIZE FUNCTION
voidinitialize();
@@ -133,8 +137,8 @@ class Level : public QGLWidget //QWidget <--To use without openGL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters