C# Class GameFramework.AiLogic_Npc_Member

Inheritance: AbstractAiStateLogic
Exibir arquivo Open project: dreamanlan/CSharpGameFramework

Protected Methods

Method Description
OnInitStateHandlers ( ) : void
OnStateLogicCheck ( EntityInfo entity, long deltaTime ) : bool
OnStateLogicInit ( EntityInfo entity, long deltaTime ) : void

Private Methods

Method Description
CombatHandler ( EntityInfo npc, long deltaTime ) : void
GetAiData ( EntityInfo entity ) : AiData_General
GetFormationId ( EntityInfo leader ) : int
GetHomePos ( int formationIndex, EntityInfo leader ) : System.Vector3
GoHomeHandler ( EntityInfo entity, long deltaTime ) : void
IdleHandler ( EntityInfo npc, long deltaTime ) : void
IsAutoOperate ( EntityInfo leader ) : bool
IsLeaderDead ( EntityInfo entity ) : bool
MoveCommandHandler ( EntityInfo entity, long deltaTime ) : void
PatrolCommandHandler ( EntityInfo entity, long deltaTime ) : void
PursuitCommandHandler ( EntityInfo entity, long deltaTime ) : void
SkillCommandHandler ( EntityInfo entity, long deltaTime ) : void
WaitCommandHandler ( EntityInfo entity, long deltaTime ) : void

Method Details

OnInitStateHandlers() protected method

protected OnInitStateHandlers ( ) : void
return void

OnStateLogicCheck() protected method

protected OnStateLogicCheck ( EntityInfo entity, long deltaTime ) : bool
entity EntityInfo
deltaTime long
return bool

OnStateLogicInit() protected method

protected OnStateLogicInit ( EntityInfo entity, long deltaTime ) : void
entity EntityInfo
deltaTime long
return void