games.strategy.engine.data
Interface IAttachment
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- CanalAttachment, DefaultAttachment, PlayerAttachment, PlayerAttachment, RulesAttachment, TechAttachment, TerritoryAttachment, TerritoryAttachment, TestAttachment, UnitAttachment
public interface IAttachment
- extends java.io.Serializable
- Version:
- 1.0
- Author:
- Sean Bridges
setData
void setData(GameData m_data)
validate
void validate(GameData data)
throws GameParseException
- Called after the attatchment is created. IF an error occurs should throw
an exception to halt the parsing
- Throws:
GameParseException
getAttatchedTo
Attachable getAttatchedTo()
setAttatchedTo
void setAttatchedTo(Attachable attatchable)
getName
java.lang.String getName()
setName
void setName(java.lang.String aString)