Class ReefscapeAlgaeOnFly

java.lang.Object
org.ironmaple.simulation.gamepieces.GamePieceProjectile
org.ironmaple.simulation.seasonspecific.reefscape2025.ReefscapeAlgaeOnFly

public class ReefscapeAlgaeOnFly extends GamePieceProjectile

Represents an ALGAE launched into the air.

This class models a ReefscapeAlgaeOnField launched into the air.

The simulation will determine if the ALGAE hits its target—the NET.

The user can specify a callback using setHitNetCallBack(Runnable), which will be triggered when the ALGAE hits the NET.

  • Constructor Details

  • Method Details

    • setHitNetCallBack

      public static void setHitNetCallBack(Runnable callBack)

      Specifies a callback for when any ALGAE launched into the air hits the NET.

      Parameters:
      callBack - a Runnable to be invoked when an ALGAE hits the NET