changeset 140:e1ca6a99eb85

Added gender, picture, age, origin and traits to the CharacterStatistics component and splitted statistics into primary_stats and secondary_stats.
author KarstenBock@gmx.net
date Sat, 01 Oct 2011 14:07:40 +0200
parents 7c9b7efc0f11
children 997cc6d182d5
files src/parpg/components/character_statistics.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/parpg/components/character_statistics.py	Sat Oct 01 13:39:52 2011 +0200
+++ b/src/parpg/components/character_statistics.py	Sat Oct 01 14:07:40 2011 +0200
@@ -18,4 +18,6 @@
 
     def __init__(self):
         """Constructor"""
-        Base.__init__(self, statistics=dict)
\ No newline at end of file
+        Base.__init__(self, gender=str, picture=str, age=int, origin=str, 
+                      primary_stats=dict, secondary_stats=dict, traits=list, 
+                      )
\ No newline at end of file