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

fogOfWar

protected Boolean fogOfWar

nextTargetID

protected Integer nextTargetID

nextTemplateID

protected Integer nextTemplateID

player

protected List<XmlPlayer> player

resourceNode

protected List<XmlResourceNode> resourceNode

revealedResourceNodes

protected Boolean revealedResourceNodes

xExtent

protected Integer xExtent

yExtent

protected Integer yExtent

Methods

getNextTargetID

public Integer getNextTargetID()

Gets the value of the nextTargetID property.

Returns:possible object is Integer

getNextTemplateID

public Integer getNextTemplateID()

Gets the value of the nextTemplateID property.

Returns:possible object is Integer

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

getXExtent

public Integer getXExtent()

Gets the value of the xExtent property.

Returns:possible object is Integer

getYExtent

public Integer getYExtent()

Gets the value of the yExtent property.

Returns:possible object is Integer

isFogOfWar

public Boolean isFogOfWar()

Gets the value of the fogOfWar property.

Returns:possible object is Boolean

isRevealedResourceNodes

public Boolean isRevealedResourceNodes()

Gets the value of the revealedResourceNodes property.

Returns:possible object is Boolean

setFogOfWar

public void setFogOfWar(Boolean value)

Sets the value of the fogOfWar property.

Parameters:
  • value – allowed object is Boolean

setNextTargetID

public void setNextTargetID(Integer value)

Sets the value of the nextTargetID property.

Parameters:
  • value – allowed object is Integer

setNextTemplateID

public void setNextTemplateID(Integer value)

Sets the value of the nextTemplateID property.

Parameters:
  • value – allowed object is Integer

setRevealedResourceNodes

public void setRevealedResourceNodes(Boolean value)

Sets the value of the revealedResourceNodes property.

Parameters:
  • value – allowed object is Boolean

setXExtent

public void setXExtent(Integer value)

Sets the value of the xExtent property.

Parameters:
  • value – allowed object is Integer

setYExtent

public void setYExtent(Integer value)

Sets the value of the yExtent property.

Parameters:
  • value – allowed object is Integer