onHoverEnter method

  1. @override
void onHoverEnter()

Implementation

@override
void onHoverEnter() {
  graph.hoverVertex = vertex;
  if (hasPanel) {
    Future.delayed(panelDelay, () {
      if (isHovered) {
        gameRef.overlays.add(overlayName);
      }
    });
  }
}