Class Arena2024Crescendo
java.lang.Object
org.ironmaple.simulation.SimulatedArena
org.ironmaple.simulation.seasonspecific.crescendo2024.Arena2024Crescendo
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
the obstacles on the 2024 competition fieldNested classes/interfaces inherited from class org.ironmaple.simulation.SimulatedArena
SimulatedArena.FieldMap, SimulatedArena.Simulatable
-
Field Summary
Fields inherited from class org.ironmaple.simulation.SimulatedArena
customSimulations, driveTrainSimulations, gamePieceProjectile, gamePieces, physicsWorld
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Season-Specific Actions to Execute inSimulatedArena.simulationPeriodic()
.void
Places Game Pieces on the Field for Autonomous Mode.Methods inherited from class org.ironmaple.simulation.SimulatedArena
addCustomSimulation, addDriveTrainSimulation, addGamePiece, addGamePieceProjectile, addIntakeSimulation, clearGamePieces, getGamePiecesByType, getInstance, getSimulationDt, getSimulationSubTicksIn1Period, overrideInstance, overrideSimulationTimings, removeGamePiece, resetFieldForAuto, simulationPeriodic
-
Constructor Details
-
Arena2024Crescendo
public Arena2024Crescendo()
-
-
Method Details
-
placeGamePiecesOnField
public void placeGamePiecesOnField()Description copied from class:SimulatedArena
Places Game Pieces on the Field for Autonomous Mode.
This method sets up the game pieces on the field, typically in their starting positions for autonomous mode.
It should be implemented differently for each season-specific subclass of
SimulatedArena
to reflect the unique game piece placements for that season's game.- Specified by:
placeGamePiecesOnField
in classSimulatedArena
-
competitionPeriodic
public void competitionPeriodic()Description copied from class:SimulatedArena
Season-Specific Actions to Execute in
SimulatedArena.simulationPeriodic()
.This method defines season-specific tasks to be executed during the
SimulatedArena.simulationPeriodic()
method.For example:
- Updating the score counts.
- Simulating human player activities.
This method should be implemented in the season-specific subclass of
SimulatedArena
to reflect the unique aspects of that season's game.- Specified by:
competitionPeriodic
in classSimulatedArena
-