View Single Post
  #1  
Old 04-17-2006, 11:13 AM
betancourtb82 betancourtb82 is offline
Member
 
Join Date: Jan 2006
Posts: 103
Avatar Attributes

I'm trying to create an array of avatars, each with a different set of attributes (body, face, name, etc.). I'm thinking of developing a class that has these "attributes" as shown below:
Code:
class Person(object):
	self.name = name
	self.enemy = enemy
	viz.add(body)
	viz.add(face)
Using these attributes, I'm thinking of putting each "person" into an array, based on their name. Can I have some pointers on how to do this. I'm kind of stuck.
Reply With Quote