private static class ChangeSet.SpyChange extends ChangeSet.Change
| Modifier and Type | Field and Description |
|---|---|
private Tile |
tile |
see| Constructor and Description |
|---|
SpyChange(ChangeSet.See see,
Settlement settlement)
Build a new SpyChange.
|
| Modifier and Type | Method and Description |
|---|---|
void |
attachToElement(org.w3c.dom.Element element)
Some changes can not be directly specialized, but need to be
directly attached to an element.
|
int |
getPriority()
Gets the sort priority.
|
org.w3c.dom.Element |
toElement(ServerPlayer serverPlayer,
org.w3c.dom.Document doc)
Specialize a SpyChange into an element with the supplied name.
|
java.lang.String |
toString() |
consequences, convertsToElement, isNotifiable, isPerhapsNotifiable, matchesprivate final Tile tile
public SpyChange(ChangeSet.See see, Settlement settlement)
see - The visibility of this change.settlement - The Settlement to spy on.public int getPriority()
getPriority in class ChangeSet.Changepublic org.w3c.dom.Element toElement(ServerPlayer serverPlayer, org.w3c.dom.Document doc)
toElement in class ChangeSet.ChangeserverPlayer - The ServerPlayer to update.doc - The owner Document.public void attachToElement(org.w3c.dom.Element element)
attachToElement in class ChangeSet.Changeelement - The Element to attach to.public java.lang.String toString()
toString in class java.lang.Object