onDrag method
Implementation
@mustCallSuper
void onDrag(Vector2 globalDelta) {
if (hasPanel) {
gameRef.overlays.remove(overlayName);
gameRef.overlays.add(overlayName);
}
algorithm.afterDrag(vertex, globalDelta);
}
@mustCallSuper
void onDrag(Vector2 globalDelta) {
if (hasPanel) {
gameRef.overlays.remove(overlayName);
gameRef.overlays.add(overlayName);
}
algorithm.afterDrag(vertex, globalDelta);
}