}
if (!game.containsMinefield(c)) {
continue;
}
Minefield mf = game.getMinefields(c).get(0);
Image tmpImage = tileManager.getMinefieldSign();
g.drawImage(tmpImage, p.x + (int) (13 * scale), p.y + (int) (13 * scale), this);
g.setColor(Color.black);
int nbrMfs = game.getNbrMinefields(c);
if (nbrMfs > 1) {
drawCenteredString(Messages.getString("BoardView1.Multiple"), //$NON-NLS-1$
p.x, p.y + (int) (51 * scale), font_minefield, g);
} else if (nbrMfs == 1) {
switch (mf.getType()) {
case (Minefield.TYPE_CONVENTIONAL):
drawCenteredString(Messages.getString("BoardView1.Conventional"), //$NON-NLS-1$
p.x, p.y + (int) (51 * scale), font_minefield, g);
break;
case (Minefield.TYPE_INFERNO):
drawCenteredString(
Messages.getString("BoardView1.Inferno") + mf.getDensity() + ")", //$NON-NLS-1$ //$NON-NLS-2$
p.x, p.y + (int) (51 * scale), font_minefield, g);
break;
case (Minefield.TYPE_ACTIVE):
drawCenteredString(
Messages.getString("BoardView1.Active") + mf.getDensity() + ")", //$NON-NLS-1$ //$NON-NLS-2$
p.x, p.y + (int) (51 * scale), font_minefield, g);
break;
case (Minefield.TYPE_COMMAND_DETONATED):
drawCenteredString(Messages.getString("BoardView1.Command-"), //$NON-NLS-1$
p.x, p.y + (int) (51 * scale), font_minefield, g);
drawCenteredString(Messages.getString("BoardView1.detonated"), //$NON-NLS-1$
p.x, p.y + (int) (60 * scale), font_minefield, g);
break;
case (Minefield.TYPE_VIBRABOMB):
drawCenteredString(Messages.getString("BoardView1.Vibrabomb"), //$NON-NLS-1$
p.x, p.y + (int) (51 * scale), font_minefield, g);
if (mf.getPlayerId() == localPlayer.getId()) {
drawCenteredString("(" + mf.getSetting() + ")", //$NON-NLS-1$ //$NON-NLS-2$
p.x, p.y + (int) (60 * scale), font_minefield, g);
}
break;
}
}