void Drainage::simulate()
{
+ std::list<IConector *>::iterator i = in_list.begin();
+ if (i != in_list.end()) {
+ PlantItem *o = (PlantItem *)(*i);
+ set_color( o->get_color() );
+ }
std::cout << name << "::Flujo recibido = " << actual_flow << std::endl;
updated = false;
actual_flow = 0;