4
1
mirror of https://github.com/QuasarApp/Snake.git synced 2025-05-02 12:39:43 +00:00

24 lines
373 B
C
Raw Normal View History

2018-09-27 00:10:42 +03:00
#ifndef WORLD_H
#define WORLD_H
#define SPEEDWORLD 10
#include <QVector>
#include "itemworld.h"
#include "baseclass.h"
class World : BaseClass
{
private:
QVector<ItemWorld*> items;
double speed;
QString background;
public:
World();
~World() override;
void render() override;
const QVector<ItemWorld*>& getItems() const;
};
#endif // WORLD_H