package era.mi.gui.components;\r
\r
-import era.mi.logic.wires.WireArray;\r
+import era.mi.logic.wires.Wire.ReadEnd;\r
import net.haspamelodica.swt.helper.gcs.GeneralGC;\r
import net.haspamelodica.swt.helper.swtobjectwrappers.Point;\r
import net.haspamelodica.swt.helper.swtobjectwrappers.Rectangle;\r
* Returns how many wire arrays are connected to this component. (Connections are static - they can't be removed and no new ones can be\r
* added)\r
*/\r
- public int getConnectedWireArraysCount();\r
+ public int getConnectedWireEndsCount();\r
\r
/**\r
* Returns the n-th wire array connected to this component.\r
*/\r
- public WireArray getConnectedWireArray(int connectionIndex);\r
+ public ReadEnd getConnectedWireEnd(int connectionIndex);\r
\r
/**\r
* Returns relative coordinates where the n-th wire array is connected to this component.\r
*/\r
- public Point getWireArrayConnectionPoint(int connectionIndex);\r
+ public Point getWireEndConnectionPoint(int connectionIndex);\r
}
\ No newline at end of file