TowerCapability towerCap = game.getCapability(TowerCapability.class);
if (towerCap == null) {
logger.error(Application.ILLEGAL_STATE_MSG, "payRansom");
return;
}
towerCap.payRansom(playerIndexToPay, meepleType);
}
@Override
public void takePrisoner(Position p, Location loc, Class<? extends Meeple> meepleType, Integer meepleOwner) {
logger.error(Application.ILLEGAL_STATE_MSG, "takePrisoner");