visualizer.unregisterMoteMenuAction(DeleteAllAction.class);
}
public Color[] getColorOf(Mote mote) {
MoteType[] types = simulation.getMoteTypes();
MoteType type = mote.getType();
for (int i=0; i < COLORS.length; i++) {
if (types[i] == type) {
return COLORS[i];
}
}