refactor(fight): 重构效果管理模块并迁移Effect接口至info包

This commit is contained in:
1
2025-08-26 23:18:55 +00:00
parent c757a38a6b
commit e129e82a8d
9 changed files with 298 additions and 276 deletions

View File

@@ -1,10 +1,13 @@
package info
import "context"
import (
"context"
)
type BattleInputSourceEntity struct {
FightUserInfo
ctx context.Context //输入源的上下文
ctx context.Context //输入源的上下文
effects NodeManager //挂载effect
}
// 新建一个宠物