Asserting action count in tests. minor changes.

This commit is contained in:
magenoxx 2014-08-15 10:52:37 +04:00
parent ef92e006d0
commit de6d1bf46b
7 changed files with 33 additions and 8 deletions

View file

@ -204,6 +204,7 @@ public interface Player extends MageItem, Copyable<Player> {
boolean isTestMode();
void setTestMode(boolean value);
void addAction(String action);
int getActionCount();
void setAllowBadMoves(boolean allowBadMoves);
void init(Game game);

View file

@ -2220,6 +2220,11 @@ public abstract class PlayerImpl implements Player, Serializable {
// do nothing
}
@Override
public int getActionCount() {
return 0;
}
@Override
public void setAllowBadMoves(boolean allowBadMoves) {
// do nothing