/** * Returns the map's weather. (default : 64x64 map have clouds) * * @param p_map * @return Weather */ public Weather getWeather(Area p_map) { switch (p_map.getAtmosphere()) { case OUTSIDE: case CASTLE: return Weather.CLOUD; default: return Weather.USUAL; } }
public BankMusic getMusicForMap(Area p_map) { Atmosphere atm = p_map.getAtmosphere(); return atm.music; }