Example #1
0
 /**
  * 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;
   }
 }
Example #2
0
 public BankMusic getMusicForMap(Area p_map) {
   Atmosphere atm = p_map.getAtmosphere();
   return atm.music;
 }