megamek.server
Class WeatherProcessor
java.lang.Object
megamek.server.DynamicTerrainProcessor
megamek.server.WeatherProcessor
public class WeatherProcessor
- extends DynamicTerrainProcessor
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)
|
Method Summary |
(package private) void |
doEndPhaseChanges(java.util.Vector<Report> vPhaseReport)
Process terrain changes in the end phase |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vPhaseReport
java.util.Vector<Report> vPhaseReport
modSnowTurn
int modSnowTurn
heavySnowTurn
int heavySnowTurn
sleetTurn
int sleetTurn
iceTurn
int iceTurn
WeatherProcessor
public WeatherProcessor(Server server)
doEndPhaseChanges
void doEndPhaseChanges(java.util.Vector<Report> vPhaseReport)
- Description copied from class:
DynamicTerrainProcessor
- Process terrain changes in the end phase
- Specified by:
doEndPhaseChanges in class DynamicTerrainProcessor
- Parameters:
vPhaseReport - reports for the server to send out