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.

27 lines
615 B

6 months ago
#ifndef GAMEDEFINE_H
#define GAMEDEFINE_H
#include<QGraphicsItem>
#include<QGraphicsScene>
#include<QGraphicsView>
#include<QDebug>
#include<QTimer>
#include<QList>
#include<QToolButton>
class GameDefine
{
GameDefine();
public:
static const int GameViewUpdateTime = 10;
static const int TotalItemNum = 24;//物品总数
static const int InvincibleTime = 500;//无敌时间
static const int GameTime = 300;//游戏总时间
static const int OriginalAttackInterval = 800;//初始射击间隔
static const int LimitedAttackInterval = 200;//最低射击间隔
};
#endif // GAMEDEFINE_H