Exemplo n.º 1
0
 public BaseNPCAIState(IAIComponent npcAIComponent)
 {
     this._npcAIComponent = npcAIComponent;
     this._aiContext      = npcAIComponent as IAIContext;
     this._aiStateManager = npcAIComponent as IAIStateManager;
     this._host           = npcAIComponent.host();
     init();
 }
Exemplo n.º 2
0
 public BaseMonsterAIState(IAIComponent monsterAIComponent)
 {
     this._monsterAIComponent = monsterAIComponent;
     this._aiContext          = monsterAIComponent as IAIContext;
     this._aiStateManager     = monsterAIComponent as IAIStateManager;
     this._host = monsterAIComponent.host();
     init();
 }