Packageorg.ffilmation.engine.interfaces
Interfacepublic interface fEngineSceneRetriever
ImplementorsfSceneLoader

This interface defines methods that any class that is to be used to retrieve an scene XML must implement. I'm using this interface definition rather that simply loading an XML because this allows to create custom classes that generate random maps, for example.



Public Methods
 MethodDefined by
  
getXML():XML
The scene will use this method to retrieve the XML definition once when a COMPLETE event is triggered
fEngineSceneRetriever
  
start():EventDispatcher
The scene will call this when it is ready to receive an scene.
fEngineSceneRetriever
Method detail
getXML()method
public function getXML():XML

The scene will use this method to retrieve the XML definition once when a COMPLETE event is triggered

Returns
XML
start()method 
public function start():EventDispatcher

The scene will call this when it is ready to receive an scene. Then the engine will listen for a COMPLETE event of the returned object before retrieving the final xml

Returns
EventDispatcher