games.strategy.engine.data
Class ChangeAttachmentChange
java.lang.Object
games.strategy.engine.data.Change
games.strategy.engine.data.ChangeAttachmentChange
- All Implemented Interfaces:
- java.io.Serializable
public class ChangeAttachmentChange
- extends Change
- See Also:
- Serialized Form
|
Constructor Summary |
ChangeAttachmentChange(Attachable attatchTo,
java.lang.String attatchmentName,
java.lang.Object newValue,
java.lang.Object oldValue,
java.lang.String property)
|
| Methods inherited from class games.strategy.engine.data.Change |
isEmpty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ChangeAttachmentChange
public ChangeAttachmentChange(Attachable attatchTo,
java.lang.String attatchmentName,
java.lang.Object newValue,
java.lang.Object oldValue,
java.lang.String property)
getAttatchedTo
public Attachable getAttatchedTo()
getAttatchmentName
public java.lang.String getAttatchmentName()
perform
public void perform(GameData data)
- Specified by:
perform in class Change
invert
public Change invert()
- Specified by:
invert in class Change
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object