Package populus :: Module World :: Class AvatarData
[frames] | no frames]

Class AvatarData

The purpose of this object is to Get the agent data from puppet.xml

Created by Birna in July 2009

Instance Methods
 
__init__(self, filename='populus/puppet.xml')
Loads the xml file into an ElementTree with puppetsRoot as the root <puppets> The agents are children of <puppets>.
 
getDataFromName(self, avatarName)
Returns all the subelements of the specific avatar
Method Details

__init__(self, filename='populus/puppet.xml')
(Constructor)

 

Loads the xml file into an ElementTree with puppetsRoot as the root <puppets> The agents are children of <puppets>. self.agents is a list