Beispiel #1
0
 protected override void Action(ADrunkAI otherai)
 {
     print("this Ai gonna take a kick");
     otherai.ActionDone();
     otherai.AddAction(ActionEnum.Action.Stun, null);
     base.Action(thisAI);
 }
Beispiel #2
0
 virtual protected void Action(ADrunkAI ai)
 {
     ai.ActionDone();
     for (int i = 0; i < actions.Count; i++)
     {
         ai.AddAction(actions[i], goOfAction[i]);
     }
 }
Beispiel #3
0
    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();
        }
    }