Package megamek.server
Class WeatherProcessor
java.lang.Object
megamek.server.DynamicTerrainProcessor
megamek.server.WeatherProcessor
Cycle through hexes on a map and make any necessary adjustments based on weather What will happen here: - add light
and heavy snow for snowfall - add ice for snowfall, sleet, and ice storm - add/take away(?) rapids and torrent for
winds - add mud, rapids, and torrent for rain (no that has to be done before play starts so it is in
server.applyBoardSettings() - put out fires (DONE)
-
Field Summary
Fields inherited from class megamek.server.DynamicTerrainProcessor
gameManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoEndPhaseChanges(Vector<Report> vPhaseReport) Process terrain changes in the end phase
-
Constructor Details
-
WeatherProcessor
-
-
Method Details
-
doEndPhaseChanges
Description copied from class:DynamicTerrainProcessorProcess terrain changes in the end phase- Specified by:
doEndPhaseChangesin classDynamicTerrainProcessor- Parameters:
vPhaseReport- reports for the server to send out
-