* let an entity lay a mine
* @param entity the <code>Entity</code> that should lay a mine
* @param mineId an <code>int</code> pointing to the mine
*/
private void layMine(Entity entity, int mineId, Coords coords) {
Mounted mine = entity.getEquipment(mineId);
Report r;
if (!mine.isMissing()) {
switch (mine.getMineType()) {
case Mounted.MINE_CONVENTIONAL:
deliverThunderMinefield(coords, entity.getOwnerId(), 10, entity.getId());
mine.setMissing(true);
r = new Report(3500, Report.PLAYER);
r.subject = entity.getId();
r.addDesc(entity);
r.type = Report.PLAYER;
r.add(coords.getBoardNum());
addReport(r);
break;
case Mounted.MINE_VIBRABOMB:
deliverThunderVibraMinefield(coords, entity.getOwnerId(), 10, mine.getVibraSetting(), entity.getId());
mine.setMissing(true);
r = new Report(3505, Report.PLAYER);
r.subject = entity.getId();
r.addDesc(entity);
r.add(coords.getBoardNum());
addReport(r);
break;
case Mounted.MINE_ACTIVE:
deliverThunderActiveMinefield(coords, entity.getOwnerId(), 10, entity.getId());
mine.setMissing(true);
r = new Report(3510, Report.PLAYER);
r.subject = entity.getId();
r.addDesc(entity);
r.add(coords.getBoardNum());
addReport(r);
break;
case Mounted.MINE_INFERNO:
deliverThunderInfernoMinefield(coords, entity.getOwnerId(), 10, entity.getId());
mine.setMissing(true);
r = new Report(3515, Report.PLAYER);
r.subject = entity.getId();
r.addDesc(entity);
r.add(coords.getBoardNum());
addReport(r);