You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
411 B
34 lines
411 B
3 years ago
|
/*
|
||
|
* Rick van Vonderen
|
||
|
* 0945444
|
||
|
* TI2B
|
||
|
*/
|
||
|
|
||
|
#ifndef MAINGAME_H
|
||
|
#define MAINGAME_H
|
||
|
|
||
|
#define CUBE 6
|
||
|
#define CUBE_SIZE 15
|
||
|
|
||
|
#include <array>
|
||
|
|
||
|
#include "gamestate.h"
|
||
|
|
||
|
class Object;
|
||
|
class Text;
|
||
|
|
||
|
class MainGame : public GameState
|
||
|
{
|
||
|
public:
|
||
|
void initialize();
|
||
|
void update();
|
||
|
void render();
|
||
|
void destroy();
|
||
|
|
||
|
private:
|
||
|
std::array<Object *, CUBE_SIZE> m_object;
|
||
|
Text *m_text;
|
||
|
};
|
||
|
|
||
|
#endif // MAINGAME_H
|