Package org.ironmaple.simulation
Class SimulatedArena.FieldMap
java.lang.Object
org.ironmaple.simulation.SimulatedArena.FieldMap
- Direct Known Subclasses:
Arena2024Crescendo.CrescendoFieldObstaclesMap
- 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addBorderLine
(Translation2d startingPoint, Translation2d endingPoint) protected void
addCustomObstacle
(org.dyn4j.geometry.Convex shape, Pose2d absolutePositionOnField) protected void
addRectangularObstacle
(double width, double height, Pose2d absolutePositionOnField)
-
Constructor Details
-
FieldMap
public FieldMap()
-
-
Method Details
-
addBorderLine
-
addRectangularObstacle
-
addCustomObstacle
-