Files
heros/assets/script/game/common/config/BoxSet.ts
2024-08-11 16:50:42 +08:00

26 lines
491 B
TypeScript

/*
* @Author: dgflash
* @Date: 2021-11-23 15:28:39
* @LastEditors: dgflash
* @LastEditTime: 2022-01-26 16:42:00
*/
/** 碰撞分组 */
export enum BoxSet {
//物理碰撞tag
DEFAULT = 1,
MONSTER = 2,
HERO = 4,
MONSTER_SKILL = 8,
HERO_SKILL = 16,
BOX_WIDTH = 64,
BOX_HEIGHT = 64,
//地图边界
LETF_END = -400,
RIGHT_END = 400,
HERO_START = -500,
MONSTER_START = 500,
//游戏地平线
GAME_LINE = 30,
}