SimulatorObserverCommandState simulatorCommand = (SimulatorObserverCommandState) observerCommand;
if (simulatorCommand == SimulatorObserverCommandState.MOVED_ALL_ROBOTOS) {
}
} else if (observerCommand instanceof RoboterModelObserverCommand) {
RoboterModelObserverCommand rmoc = (RoboterModelObserverCommand) observerCommand;
if (rmoc.getState() == RoboterModelCommandState.ROBOTER_ADDED) {
RoboterComponent newRoboterComponent = new RoboterComponent(rmoc.getModel(),
simulator.getRoboterConstructionForRoboter(rmoc.getModel()));
this.roboterComponents.add(newRoboterComponent);
} else if (rmoc.getState() == RoboterModelCommandState.ROBOTER_REMOVED) {
RoboterComponent rc = findOrAddRoboterComponent(rmoc.getModel());
this.roboterComponents.remove(rc);
}
} else if (observerCommand instanceof LightSensorModelObserverCommand) {
LightSensorModelObserverCommand lsmoc = (LightSensorModelObserverCommand) observerCommand;
if (lsmoc.getState() == LightSensorCommandState.SENSOR_INTENSITY_CHANGED) {