refactor(fight): 重构战斗模式与状态枚举,新增加载进度功能并优化战斗初始化逻辑
This commit is contained in:
@@ -14,4 +14,5 @@ type FightI interface {
|
||||
ChangePet(c PlayerI, id uint32)
|
||||
Capture(c PlayerI, id uint32)
|
||||
GetRand() *rand.Rand
|
||||
LoadPercent(c PlayerI, percent int32)
|
||||
}
|
||||
|
||||
@@ -15,5 +15,6 @@ type PlayerI interface {
|
||||
GetInfo() *model.PlayerInfo
|
||||
SendAttackValue(info.AttackValueS)
|
||||
SendChangePet(info.ChangePetInfo)
|
||||
SendLoadPercent(info.LoadPercentOutboundInfo)
|
||||
SetFightC(FightI)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user