java.lang.Object
org.ironmaple.simulation.Goal
org.ironmaple.simulation.seasonspecific.crescendo2024.CrescendoAmp
All Implemented Interfaces:
SimulatedArena.Simulatable

public class CrescendoAmp extends Goal

Simulates a AMPS on the field.

This class simulates the AMP on the field where NOTESs can be scored.

  • Field Details

  • Constructor Details

    • CrescendoAmp

      public CrescendoAmp(Arena2024Crescendo arena, boolean isBlue)

      Creates an Amp of the specified color.

      Parameters:
      arena - The host arena of this amp.
      isBlue - Wether this is the blue amp or the red one.
  • Method Details

    • addPoints

      protected void addPoints()
      Description copied from class: Goal

      Adds Points When a Piece Has Been Successfully Scored in This Goal

      Since this function is the only trigger called when a piece is scored it may handle other small things outside of adding points.

      Specified by:
      addPoints in class Goal
    • draw

      public void draw(List<Pose3d> drawList)
      Description copied from class: Goal

      Displays Game Pieces to AdvantageScope if Applicable

      Specified by:
      draw in class Goal
      Parameters:
      drawList - a list of Pose3d objects used to visualize the positions of the game pieces on AdvantageScope