|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigurableComponentI
Interface for rails.game components which can be configured from an XML element.
Method Summary | |
---|---|
void |
configureFromXML(Tag tag)
Instructs the component to configure itself from the provided XML element. |
void |
finishConfiguration(GameManagerI parent)
This method is intended to be called for each configurable component, to perforn any initialisation activities that require any other components to be initialised first. |
Method Detail |
---|
void configureFromXML(Tag tag) throws ConfigurationException
element
- the XML element containing the configuration
ConfigurationException
void finishConfiguration(GameManagerI parent) throws ConfigurationException
This method should be called where necessary after all XML file parsing has completed, so that all objects that need to be related to do exist.
parent
- The 'parent' configurable component is passed to allow
the 'child' to access any other object without the need to resort to
static calls where possible.
ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |