Class ReefscapeBargeSimulation
java.lang.Object
org.ironmaple.simulation.Goal
org.ironmaple.simulation.seasonspecific.reefscape2025.ReefscapeBargeSimulation
- All Implemented Interfaces:
SimulatedArena.Simulatable
Simulates a BARGEs on the field.
This class simulates a BARGEs on the field where ALGAE can be scored.
-
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 Translation3dFields inherited from class org.ironmaple.simulation.Goal
allowGrounded, arena, elevation, gamePieceCount, gamePieceType, height, isBlue, max, position, positionChecker, rotationChecker, velocityValidator, xyBox -
Constructor Summary
ConstructorsConstructorDescriptionReefscapeBargeSimulation(Arena2025Reefscape arena, boolean isBlue) Creates an barge 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
-
redBargePose
-
blueBargePose
-
-
Constructor Details
-
ReefscapeBargeSimulation
Creates an barge of the specified color.
- Parameters:
arena- The host arena of this barge.isBlue- Wether this is the blue barge or the red one.
-
-
Method Details
-
draw
Description copied from class:GoalDisplays Game Pieces to AdvantageScope if Applicable
-
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.
-