public class AIController
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<User> |
aIUnits
|
private java.util.ArrayList<java.lang.Integer> |
orderList
|
private Scenario |
scenario
|
Constructor and Description |
---|
AIController() |
Modifier and Type | Method and Description |
---|---|
void |
applyScenario() |
void |
attackEnemy() |
void |
followPlayerMove() |
void |
freeMove() |
java.util.ArrayList<User> |
getaIUnits() |
java.util.ArrayList<java.lang.Integer> |
getOrderList() |
Scenario |
getScenario() |
void |
setaIUnits(java.util.ArrayList<User> aIUnits) |
void |
setOrderList(java.util.ArrayList<java.lang.Integer> orderList) |
void |
setScenario(Scenario scenario) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private java.util.ArrayList<User> aIUnits
private java.util.ArrayList<java.lang.Integer> orderList
private Scenario scenario
public AIController()
public Scenario getScenario()
public void setScenario(Scenario scenario)
scenario
- public java.util.ArrayList<java.lang.Integer> getOrderList()
public void setOrderList(java.util.ArrayList<java.lang.Integer> orderList)
orderList
- public java.util.ArrayList<User> getaIUnits()
public void setaIUnits(java.util.ArrayList<User> aIUnits)
aIUnits
- public void attackEnemy()
public void freeMove()
public void followPlayerMove()
public void applyScenario()