}
public void doAction(Visualizer visualizer, Mote mote) {
/* Remove all motes of this type */
/* TODO Confirm? */
Simulation simulation = mote.getSimulation();
Mote[] motes = simulation.getMotes();
for (Mote m: motes) {
if (m.getType() == mote.getType()) {
simulation.removeMote(m);
}
}
}