Ejemplo n.º 1
0
    //Internally sets the current event and initializes it
    void setCurrentEvent(AIEvent newEvent)
    {
        //If there is a currentEvent, we try and OverrideExit to detach it safely

        currentEvent = newEvent;
        currentEvent.StartAction();
    }
Ejemplo n.º 2
0
    //Internally sets the current event and initializes it
    void setCurrentEvent(AIEvent newEvent)
    {
        //If there is a currentEvent, we try and OverrideExit to detach it safely

        currentEvent = newEvent;
        currentEvent.StartAction();
    }