Modifier and Type | Field and Description |
---|---|
protected Field |
after |
protected DefaultAIKernel |
ai |
protected boolean |
allowDrops |
protected DefaultAIKernel.Best |
best |
protected Deque<Command> |
commands |
protected int |
dest |
protected Engine |
engine |
protected CommandGraph |
graph |
protected int |
lookahead |
Constructor and Description |
---|
AIPlayer(DefaultAIKernel ai,
Engine engine,
int lookahead) |
AIPlayer(Engine engine) |
Modifier and Type | Method and Description |
---|---|
Field |
getAfter() |
DefaultAIKernel.Best |
getBest() |
Deque<Command> |
getCommands() |
int |
getDest() |
CommandGraph |
getGraph() |
int |
getLookahead() |
boolean |
isAllowDrops() |
void |
setAllowDrops(boolean allowDrops) |
void |
setLookahead(int lookahead) |
Command |
tick() |
protected DefaultAIKernel ai
protected Engine engine
protected DefaultAIKernel.Best best
protected CommandGraph graph
protected int dest
protected Field after
protected int lookahead
protected boolean allowDrops
public AIPlayer(Engine engine)
public AIPlayer(DefaultAIKernel ai, Engine engine, int lookahead)
public DefaultAIKernel.Best getBest()
public int getDest()
public CommandGraph getGraph()
public int getLookahead()
public void setLookahead(int lookahead)
public boolean isAllowDrops()
public void setAllowDrops(boolean allowDrops)
public Field getAfter()
Copyright © 2015. All rights reserved.