Class ReefscapeProcessorSimulation
java.lang.Object
org.ironmaple.simulation.Goal
org.ironmaple.simulation.seasonspecific.reefscape2025.ReefscapeProcessorSimulation
- All Implemented Interfaces:
SimulatedArena.Simulatable
Simulates a PROCESSORs on the field.
This class simulates a PROCESSORs on the field where ALGAEs can be scored. It will automatically launch the algae scored into the apposing barge and always hit.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ironmaple.simulation.Goal
Goal.PositionChecker, Goal.RotationChecker -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Translation3dprotected static final Translation3dprotected static final Translation3dprotected static final Translation3dFields inherited from class org.ironmaple.simulation.Goal
allowGrounded, arena, elevation, gamePieceCount, gamePieceType, height, isBlue, max, position, positionChecker, rotationChecker, velocityValidator, xyBox -
Constructor Summary
ConstructorsConstructorDescriptionReefscapeProcessorSimulation(Arena2025Reefscape arena, boolean isBlue) Creates an processor of the specified color. -
Method Summary
Methods inherited from class org.ironmaple.simulation.Goal
absoluteAngle, anyRotation, box, checkCollision, checkGrounded, checkValidity, clear, flipRotation, getGamePieceCount, isFull, pitchOnly, setNeededAngle, setNeededAngle, simulationSubTick, withCustomCollisionPredicate, withCustomPositionChecker, withCustomRotationChecker, withCustomRotationValidator, withCustomVelocityValidator, withRotationTolerance
-
Field Details
-
blueProcessorPose
-
redProcessorPose
-
blueProcessorLaunchPose
-
redProcessorLaunchPose
-
-
Constructor Details
-
ReefscapeProcessorSimulation
Creates an processor of the specified color.
- Parameters:
arena- The host arena of this processor.isBlue- Wether this is the blue processor or the red one.
-
-
Method Details
-
addPoints
protected void addPoints()Description copied from class:GoalAdds 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.
-
draw
Description copied from class:GoalDisplays Game Pieces to AdvantageScope if Applicable
-