Sync with L2jServer HighFive Mar 1st 2015.
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
package com.l2jserver.gameserver.ai;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Class for AI action after some event.<br>
|
||||
@@ -32,8 +33,8 @@ public class NextAction
|
||||
public void doWork();
|
||||
}
|
||||
|
||||
private ArrayList<CtrlEvent> _events;
|
||||
private ArrayList<CtrlIntention> _intentions;
|
||||
private List<CtrlEvent> _events;
|
||||
private List<CtrlIntention> _intentions;
|
||||
private NextActionCallback _callback;
|
||||
|
||||
/**
|
||||
@@ -42,7 +43,7 @@ public class NextAction
|
||||
* @param intentions
|
||||
* @param callback
|
||||
*/
|
||||
public NextAction(ArrayList<CtrlEvent> events, ArrayList<CtrlIntention> intentions, NextActionCallback callback)
|
||||
public NextAction(List<CtrlEvent> events, List<CtrlIntention> intentions, NextActionCallback callback)
|
||||
{
|
||||
_events = events;
|
||||
_intentions = intentions;
|
||||
@@ -93,7 +94,7 @@ public class NextAction
|
||||
/**
|
||||
* @return the _event
|
||||
*/
|
||||
public ArrayList<CtrlEvent> getEvents()
|
||||
public List<CtrlEvent> getEvents()
|
||||
{
|
||||
// If null return empty list.
|
||||
if (_events == null)
|
||||
@@ -158,7 +159,7 @@ public class NextAction
|
||||
/**
|
||||
* @return the _intentions
|
||||
*/
|
||||
public ArrayList<CtrlIntention> getIntentions()
|
||||
public List<CtrlIntention> getIntentions()
|
||||
{
|
||||
// If null return empty list.
|
||||
if (_intentions == null)
|
||||
|
Reference in New Issue
Block a user