diff src/parpg/components/__init__.py @ 120:1703dbb4fefb

Added Behaviour component. Fixed updateObjectDB of GameModel storing values about components the Entity doesn't have.
author KarstenBock@gmx.net
date Tue, 27 Sep 2011 15:23:43 +0200
parents b10de0310771
children 21dd4da40eab
line wrap: on
line diff
--- a/src/parpg/components/__init__.py	Tue Sep 27 14:58:03 2011 +0200
+++ b/src/parpg/components/__init__.py	Tue Sep 27 15:23:43 2011 +0200
@@ -10,6 +10,7 @@
 from equipable import Equipable
 from equip import Equip
 from general import General
+from behaviour import Behaviour
 
 components = {
         "general": General(),
@@ -24,4 +25,5 @@
         "change_map": ChangeMap(),
         "equipable": Equipable(),
         "equip": Equip(),
+        "behaviour": Behaviour(),
     }
\ No newline at end of file