Snake/back-end/controller.h

21 lines
250 B
C
Raw Normal View History

2018-09-11 20:10:37 +03:00
#ifndef CONTROLLER_H
#define CONTROLLER_H
#include <QObject>
#include "snake.h"
2018-09-27 14:59:10 +03:00
#include "world.h"
2018-09-11 20:10:37 +03:00
class Controller : public QObject
{
2018-10-11 00:04:52 +03:00
Q_OBJECT
2018-09-11 20:10:37 +03:00
private:
2018-09-27 14:59:10 +03:00
World world;
2018-09-11 20:10:37 +03:00
public:
Controller();
void update();
};
#endif // CONTROLLER_H