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