protected override void Action(ADrunkAI otherai) { print("this Ai gonna take a kick"); otherai.ActionDone(); otherai.AddAction(ActionEnum.Action.Stun, null); base.Action(thisAI); }
virtual protected void Action(ADrunkAI ai) { ai.ActionDone(); for (int i = 0; i < actions.Count; i++) { ai.AddAction(actions[i], goOfAction[i]); } }
private void CocktailDisappear(GameObject col, ADrunkAI ai) { print("trigger cocktail disappear"); if (gameObject != null && col == gameObject) { print("cocktail desapear, ai change his mind"); ai.ActionDone(); } }