feat(渲染): 重构渲染层级管理并添加BOSS层级
移除动态渲染层级更新逻辑,改为在实体加载时设置固定层级 - 在Hero和Monster的load方法中设置初始siblingIndex - 添加BOSS枚举值到IndexSet - 为Monster添加溢出保护,防止层级索引过大 - 删除墓地位置判断等不再需要的逻辑
This commit is contained in:
@@ -140,7 +140,8 @@ export enum IndexSet {
|
||||
MON2 = 3000,
|
||||
/** 每个怪物的层级增量,确保后生成的在前面 */
|
||||
MON_INCREMENT = 1,
|
||||
SLILL=4000
|
||||
SLILL=4000,
|
||||
BOSS=2100,
|
||||
}
|
||||
export const TooltipTypes = {
|
||||
life:1,
|
||||
|
||||
Reference in New Issue
Block a user