rtc.setMoves(rmlmoc.getPayLoad());
}
} else if (observerCommand instanceof LightBulbModelObserverCommand) {
LightBulbModelObserverCommand lbmoc = (LightBulbModelObserverCommand) observerCommand;
if (lbmoc.getState() == LightBulbModelCommandState.LIGHTBULB_ADDED) {
this.lightBulbComponents.add(new LightBulbComponent(lbmoc.getModel()));
} else if (lbmoc.getState() == LightBulbModelCommandState.LIGHTBULB_REMOVED) {
LightBulbComponent rc = findOrAddLightBulbComponent(lbmoc.getModel());
this.lightBulbComponents.remove(rc);
}
}
}