GameFramework.AiLogic_Npc_General.OnStateLogicCheck C# (CSharp) Method

OnStateLogicCheck() protected method

protected OnStateLogicCheck ( EntityInfo npc, long deltaTime ) : bool
npc EntityInfo
deltaTime long
return bool
        protected override bool OnStateLogicCheck(EntityInfo npc, long deltaTime)
        {
            if (npc.IsDead()) {
                NotifyAiDead(npc);
                return false;
            }
            return true;
        }