Package games.stendhal.server.maps
Class FertileGrounds
java.lang.Object
games.stendhal.server.maps.FertileGrounds
- All Implemented Interfaces:
ZoneConfigurator
Configures ground to be fertile in zone. usage in zones.xml.
example to create an area at (15,25) with widht of 10 and height of 20
<configurator class-name="games.stendhal.server.maps.semos.city.FertileGrounds" >
<parameter name="x">15</parameter>
<parameter name="y">25</parameter>
<parameter name="width">10</parameter> <
<parameter name="height">20</parameter>
<parameter name="name">allotmentName</parameter>
</configurator>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureZone(StendhalRPZone zone, Map<String, String> attributes) Configure a zone.
-
Constructor Details
-
FertileGrounds
public FertileGrounds()
-
-
Method Details
-
configureZone
Description copied from interface:ZoneConfiguratorConfigure a zone.- Specified by:
configureZonein interfaceZoneConfigurator- Parameters:
zone- The zone to be configured.attributes- Configuration attributes.
-