java.lang.Cloneable, CMCommon, CMObject, java.lang.Comparable<CMObject>, TickableDefaultClimatepublic interface Climate extends Tickable, CMCommon
| Modifier and Type | Field | Description | 
|---|---|---|
| static int | NUM_WEATHER | constant describing the number of weather types. | 
| static int | WEATHER_BLIZZARD | constant describing blizzardous weather. | 
| static int | WEATHER_CLEAR | constant describing clear or no weather. | 
| static int | WEATHER_CLOUDY | constant describing  cloudy weather. | 
| static java.lang.String[] | WEATHER_DESCS | descriptive strings for the Climate.WEATHER_* constants, ordered by their value. | 
| static int | WEATHER_DROUGHT | constant describing drought condition weather. | 
| static int | WEATHER_DUSTSTORM | constant describing duststorming weather. | 
| static int | WEATHER_FOG | constant describing foggy weather. | 
| static int | WEATHER_HAIL | constant describing haily weather. | 
| static int | WEATHER_HEAT_WAVE | constant describing heat wave weather. | 
| static int | WEATHER_RAIN | constant describing rainy weather. | 
| static int | WEATHER_SLEET | constant describing sleety weather. | 
| static int | WEATHER_SNOW | constant describing snowy weather. | 
| static int | WEATHER_THUNDERSTORM | constant describing thunderstorm weather. | 
| static int | WEATHER_TICK_DOWN | constant defining how often weather changes in the climates | 
| static int | WEATHER_WINDY | constant describing windy weather. | 
| static int | WEATHER_WINTER_COLD | constant describing harsh cold weather. | 
idConverterSTATUS_AFFECT, STATUS_ALIVE, STATUS_BEHAVIOR, STATUS_CLASS, STATUS_DEAD, STATUS_END, STATUS_FIGHT, STATUS_MISC, STATUS_MISC2, STATUS_MISC3, STATUS_MISC4, STATUS_MISC5, STATUS_MISC6, STATUS_MISC7, STATUS_NOT, STATUS_OTHER, STATUS_RACE, STATUS_REBIRTH, STATUS_SCRIPT, STATUS_START, STATUS_WEATHER, TICKID_AREA, TICKID_BALLISTICK, TICKID_CLAN, TICKID_CLANITEM, TICKID_DEADBODY_DECAY, TICKID_ELECTRONICS, TICKID_EMAIL, TICKID_EVENT, TICKID_EXIT_BEHAVIOR, TICKID_EXIT_REOPEN, TICKID_ITEM_BEHAVIOR, TICKID_ITEM_BOUNCEBACK, TICKID_LIGHT_FLICKERS, TICKID_LIVEAUCTION, TICKID_LONGERMASK, TICKID_MISCELLANEOUS, TICKID_MOB, TICKID_PROPERTY_SPECIAL, TICKID_QUEST, TICKID_READYTOSTOP, TICKID_ROOM_BEHAVIOR, TICKID_ROOM_ITEM_REJUV, TICKID_SHORTERMASK, TICKID_SOLITARYMASK, TICKID_SPECIALCOMBAT, TICKID_SPECIALMANEUVER, TICKID_SPELL_AFFECT, TICKID_SUPPORT, TICKID_TIMEAUCTION, TICKID_TRAP_DESTRUCTION, TICKID_TRAP_RESET| Modifier and Type | Method | Description | 
|---|---|---|
| int | adjustMovement(int base,
              Room room) | If applicable, thies method will return the base movement
 cost of the given mob, modified up or down based
 on the room given. | 
| int | adjustWaterConsumption(int base,
                      Room room) | If applicable, thies method will return the base water
 thirstiness of the given mob, modified up or down based
 on the room given. | 
| boolean | canSeeTheMoon(Room room,
             Ability butNotA) | Returns whether a player can see the moon from
 the current room. | 
| boolean | canSeeTheStars(Room room) | Returns whether a player can see the stars from
 the current room. | 
| boolean | canSeeTheSun(Room room) | Returns whether a player can see the sun from
 the current room. | 
| void | forceWeatherTick(Area A) | This method forces the weather to change to what
 is designated by the nextWeatherType(). | 
| java.lang.String | getNextWeatherDescription(Area A) | Returns a readable string describing the upcoming
 weather conditions in the given area, assuming
 this climate is the correct one. | 
| java.lang.String | getWeatherDescription(Area A) | Returns a readable string describing the
 weather conditions in the given area, assuming
 this climate is the correct one. | 
| java.lang.String | nextWeatherDescription(Room room) | Returns a readable description of the weather
 that will be upcoming for the given room. | 
| int | nextWeatherType(Room room) | Returns the upcoming specific weather situation for
 the given room. | 
| void | setCurrentWeatherType(int weatherCode) | Sets the current specific weather situation for
 this area. | 
| void | setNextWeatherType(int weatherCode) | Sets the upcoming specific weather situation for
 this area. | 
| java.lang.String | weatherDescription(Room room) | Returns a readable description of the weather
 for the given room. | 
| int | weatherType(Room room) | Returns the specific weather situation for
 the given room. | 
copyOf, ID, initializeClass, newInstancegetTickStatus, name, tickstatic final int WEATHER_CLEAR
static final int WEATHER_CLOUDY
static final int WEATHER_WINDY
static final int WEATHER_RAIN
static final int WEATHER_THUNDERSTORM
static final int WEATHER_SNOW
static final int WEATHER_HAIL
static final int WEATHER_HEAT_WAVE
static final int WEATHER_SLEET
static final int WEATHER_BLIZZARD
static final int WEATHER_DUSTSTORM
static final int WEATHER_DROUGHT
static final int WEATHER_WINTER_COLD
static final int WEATHER_FOG
static final int NUM_WEATHER
static final int WEATHER_TICK_DOWN
static final java.lang.String[] WEATHER_DESCS
int weatherType(Room room)
room - the room to evaluate.Climate, 
setCurrentWeatherType(int)int nextWeatherType(Room room)
room - the room to evaluate.Climate, 
setNextWeatherType(int)void setNextWeatherType(int weatherCode)
weatherCode - the Climate.WEATHER_* constantClimate, 
nextWeatherType(Room)void setCurrentWeatherType(int weatherCode)
weatherCode - the Climate.WEATHER_* constantClimate, 
weatherType(Room)java.lang.String weatherDescription(Room room)
room - the room to evaluatejava.lang.String nextWeatherDescription(Room room)
room - the room to evaluateboolean canSeeTheStars(Room room)
room - the room vantage pointboolean canSeeTheMoon(Room room, Ability butNotA)
room - the room vantage pointbutNotA - an ability to exempt from moon flagsboolean canSeeTheSun(Room room)
room - the room vantage pointjava.lang.String getWeatherDescription(Area A)
A - the area to evaluatejava.lang.String getNextWeatherDescription(Area A)
A - the area to evaluatevoid forceWeatherTick(Area A)
A - the area to calculate next weather for.int adjustWaterConsumption(int base,
                           Room room)
base - the water thirst gain to start withroom - the room the mob is inint adjustMovement(int base,
                   Room room)
base - the movement  loss to start withroom - the room the mob is moving through