comparison 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
comparison
equal deleted inserted replaced
119:3564a46544bc 120:1703dbb4fefb
8 from usable import Usable 8 from usable import Usable
9 from change_map import ChangeMap 9 from change_map import ChangeMap
10 from equipable import Equipable 10 from equipable import Equipable
11 from equip import Equip 11 from equip import Equip
12 from general import General 12 from general import General
13 from behaviour import Behaviour
13 14
14 components = { 15 components = {
15 "general": General(), 16 "general": General(),
16 "characterstats": CharacterStatistics(), 17 "characterstats": CharacterStatistics(),
17 "containable": Containable(), 18 "containable": Containable(),
22 "lockable": Lockable(), 23 "lockable": Lockable(),
23 "usable": Usable(), 24 "usable": Usable(),
24 "change_map": ChangeMap(), 25 "change_map": ChangeMap(),
25 "equipable": Equipable(), 26 "equipable": Equipable(),
26 "equip": Equip(), 27 "equip": Equip(),
28 "behaviour": Behaviour(),
27 } 29 }