| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
XMLMapLoader
The XMLMapLoader parses the xml map using several section. Each section fires a callback (if given) which can e. g. be used to show a progress bar.
The callback sends two values, a string and a float (which shows the overall process): callback(string, float)
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
overwrite of fife.ResourceLoader
|
start parsing the xml structure and
call submethods for turning found tags
into FIFE objects and create the map
@type mapelt: object
@param mapelt: ElementTree root
@type map: object
@return map: FIFE map object
|
load all objects defined as import into memory
|
create all layers and their instances
|
create light nodes
|
create sound emitter FIXME:
|
create all layers and their instances
|
create all cameras and activate them
FIXME:
- should the cameras really be enabled here?
IMO that's part of the setup within a client
(we just _load_ things here)
@type mapelt: object
@param mapelt: ElementTree root
@type map: object
@map map: FIFE map object
|
loop through all preloaded lights and create them
according to their data
@type map: object
@param map: FIFE map object
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sat Feb 11 00:00:29 2012 | http://epydoc.sourceforge.net |