Class FertileGrounds
java.lang.Object
games.stendhal.server.maps.semos.city.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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configureZone(StendhalRPZone zone, Map<String,String> attributes)
Configure a zone.
-
Constructor Details
-
FertileGrounds
public FertileGrounds()
-
-
Method Details
-
configureZone
Description copied from interface:ZoneConfigurator
Configure a zone.- Specified by:
configureZone
in interfaceZoneConfigurator
- Parameters:
zone
- The zone to be configured.attributes
- Configuration attributes.
-