X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/31b3e321726d5c3fe720dd216687d3138523714f..f5a1e732bf3907cabd004932aba3256b31d9d282:/Constructor/pump.cpp?ds=inline diff --git a/Constructor/pump.cpp b/Constructor/pump.cpp index fbc0937..515dc90 100644 --- a/Constructor/pump.cpp +++ b/Constructor/pump.cpp @@ -149,15 +149,8 @@ ConnectorType Pump::get_connector_type(int _a, int _b) } return UNDEF; } -/* -bool Pump::is_connection_area(int _a, int _b) + +void Pump::set_default_connector() { - switch (imgActual) { - case 0: if ( (_a <= x+image->get_width()-1)&&(_a>=x+image->get_width()-10)&&(_b<=y+22)&&(_b > y) ) - return true; - case 1: if ( (_a <= x+10)&&(_a > x)&&(_b<=y+22)&&(_b > y) ) - return true; - } - return false; + connect_vec[0].type = OUT; } -*/