// 项目配置常量
#ifndef DATA_CONFIG_H
#define DATA_CONFIG_H

// 网格
constexpr int CELL_SIZE = 30;
constexpr int MAP_CELL_NUM = 20;

// 偏移
constexpr int X_OFFSET = 50;
constexpr int Y_OFFSET = 45;

// 窗口
constexpr int WINDOW_W = 700;
constexpr int WINDOW_H = 700;

// 实体数量
constexpr int ENEMIES_NUM = 10;
constexpr int MAX_PLAYER_BULLETS = 3;
constexpr int MAX_ENEMY_BULLETS = ENEMIES_NUM;

// 方向
enum Direction { UP, DOWN, LEFT, RIGHT };

// 地图单元类型
enum CELL_Type {
    BLANK,
    RED_TANK,
    RED_DEAD_TANK,
    BLUE_TANK,
    BLUE_DEAD_TANK,
    WALL,
    BULLET
};

#endif
