Package megamek.common.event.board
Interface BoardListener
- All Superinterfaces:
- EventListener
- All Known Implementing Classes:
- BoardListenerAdapter,- BoardView,- HexTileset
Classes which implement this interface provide methods that deal with the events that are generated when the Board is
 changed.
 
 After creating an instance of a class that implements this interface it can be added to a Board using the
 addBoardListener method and removed using the removeBoardListener method. When board is
 changed the appropriate method will be invoked.
 
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionvoidSent when all hexes on the board changed.voidSent when a single hex on the Board changed.voidSent when the Board is completely changed.
- 
Method Details- 
boardNewBoardSent when the Board is completely changed. The board's size may have changed.- Parameters:
- b- an event containing information about the change
 
- 
boardChangedHexSent when a single hex on the Board changed.- Parameters:
- b- an event containing information about the change
 
- 
boardChangedAllHexesSent when all hexes on the board changed.- Parameters:
- b- an event containing information about the change
 
 
-