XmlState¶
-
public class
XmlState
¶ Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <sequence maxOccurs="unbounded"> <element name="player" type="{}Player"/> </sequence> <sequence maxOccurs="unbounded" minOccurs="0"> <element name="resourceNode" type="{}ResourceNode"/> </sequence> </sequence> <attribute name="xExtent" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="yExtent" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="nextTargetID" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="nextTemplateID" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="RevealedResourceNodes" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="fogOfWar" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>
Fields¶
resourceNode¶
-
protected List<XmlResourceNode>
resourceNode
¶
Methods¶
getNextTargetID¶
getNextTemplateID¶
getPlayer¶
-
public List<XmlPlayer>
getPlayer
()¶ Gets the value of the player property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the player property.For example, to add a new item, do as follows:
getPlayer().add(newItem);
Objects of the following type(s) are allowed in the list
XmlPlayer
getResourceNode¶
-
public List<XmlResourceNode>
getResourceNode
()¶ Gets the value of the resourceNode property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the resourceNode property.For example, to add a new item, do as follows:
getResourceNode().add(newItem);
Objects of the following type(s) are allowed in the list
XmlResourceNode