Package megamek.ai.dataset
Class BoardData
Flexible container for board data using a map-based approach with enum keys.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumEnum defining all available board data fields.static final recordNested class to represent a single row of hex data
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic BoardDataCreates a BoardData from a Board.Gets the board's hex rows.Methods inherited from class megamek.ai.dataset.EntityDataMapget, get, getAllFields, getFieldEnumClass, getFieldOrder, getVersionedClassName, put
- 
Constructor Details- 
BoardDatapublic BoardData()Creates an empty BoardData.
 
- 
- 
Method Details- 
fromBoardCreates a BoardData from a Board.- Parameters:
- board- The board to extract data from
- Returns:
- A populated BoardData
 
- 
getHexRowsGets the board's hex rows.- Returns:
- List of HexRow objects containing the board's hexes
 
 
-