Package org.ironmaple.simulation
Class SimulatedArena.FieldMap
java.lang.Object
org.ironmaple.simulation.SimulatedArena.FieldMap
- Direct Known Subclasses:
Arena2024Crescendo.CrescendoFieldObstaclesMap,Arena2025Reefscape.ReefscapeFieldObstacleMap
- Enclosing class:
- SimulatedArena
Represents an Abstract Field Map
Stores the layout of obstacles and game pieces.
For each season-specific subclass of SimulatedArena, there should be a corresponding subclass of this
class to store the field map for that specific season's game.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddBorderLine(Translation2d startingPoint, Translation2d endingPoint) protected voidaddCustomObstacle(org.dyn4j.geometry.Convex shape, Pose2d absolutePositionOnField) protected voidaddRectangularObstacle(double width, double height, Pose2d absolutePositionOnField)
-
Constructor Details
-
FieldMap
public FieldMap()
-
-
Method Details
-
addBorderLine
-
addRectangularObstacle
-
addCustomObstacle
-