local Base = require "Battle/Logic/Entity/State/State_Node" local State_Dead = class("State_Dead",Base) --[[ 进入该State --]] function State_Dead:StateIn(entity, skillID, animName, command) Base.StateIn(self, entity, skillID, animName, command) entity.components.anim:SetCurAnimID(animName,LuaConst.MoveMode.ByAnimation) -- SystemManager.OnDead(entity) end --[[ 退出该State --]] function State_Dead:StateOut(entity, skillID, animName, command) end return State_Dead