org.eviline.ai
Class AbstractPlayer
java.lang.Object
org.eviline.ai.AbstractPlayer
- All Implemented Interfaces:
- Iterable<PlayerAction>, Player
- Direct Known Subclasses:
- DefaultPlayer
public abstract class AbstractPlayer
- extends Object
- implements Player
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
field
protected Field field
moves
protected Deque<PlayerAction> moves
AbstractPlayer
public AbstractPlayer(Field field)
compute
protected abstract Queue<PlayerAction> compute(Field field)
reset
public void reset()
- Specified by:
reset
in interface Player
iterator
public Iterator<PlayerAction> iterator()
- Specified by:
iterator
in interface Iterable<PlayerAction>
Copyright © 2013. All Rights Reserved.