Snake/back-end/utils.h
2018-11-12 20:00:37 +03:00

22 lines
380 B
C++

#ifndef UTILS_H
#define UTILS_H
#include <QMap>
#include <QPoint>
/**
* @brief WorldRules
* this map conteins:
* 1. list of generated objects and they count.
* 2. long of world (Long),
* 3. spead of world (Spead),
* !!!Note: all object show on map alltime.
*/
typedef QMap<QString, int> WorldRules;
namespace Global {
extern QPoint deviceSize;
};
#endif // UTILS_H