|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.electrotank.electroserver4.extensions.api.value.ZoneConfiguration
public class ZoneConfiguration
Object class that holds the configuration of a single zone. A zone is a collection of rooms. Every room must exist in a zone. A room cannot exist in more than one zone. A zone is defined by a unique name and has no other properties. A zone is not created by itself. During the room creation, a zone is specified. If that zone does not exist, then it is created.
GameConfiguration,
RoomConfiguration| Constructor Summary | |
|---|---|
ZoneConfiguration()
Constructs a new instance of ZoneConfiguration. |
|
| Method Summary | |
|---|---|
void |
addRoom(RoomConfiguration room)
Adds a room to the zone. |
List<RoomConfiguration> |
getRooms()
Gets a list of the configurations of all the rooms in this zone. |
String |
getZoneName()
Gets the unique name of the zone. |
void |
setZoneName(String zoneName)
Sets the name of the zone. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZoneConfiguration()
| Method Detail |
|---|
public String getZoneName()
public void setZoneName(String zoneName)
zoneName - unique identifier for this zonepublic List<RoomConfiguration> getRooms()
public void addRoom(RoomConfiguration room)
room - RoomConfiguration for the room
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||