public interface ConnectionWidgetCollisionsCollector
CollisionCollectorinterface if you do not want to receive any context.
|Modifier and Type||Method and Description|
Gathers collision collections and fills up the lists of vertical and horizontal collisions.
void collectCollisions(ConnectionWidget connectionWidget, List<Rectangle> verticalCollisions, List<Rectangle> horizontalCollisions)
CollisionCollector.collectCollisionsbut takes additional parameter of a connection widget for which the collisions are going to searched.
connectionWidget- the connection widget for which the collisions are going to be searched.
verticalCollisions- the list of vertical collisions
horizontalCollisions- the list of horizontal collisions