annotate components/__init__.py @ 180:0d0422243490

The getGameEnvironment method of GameState will now return a globals dictionary where __builtins__ is disabled.
author Beliar
date Sat, 10 Mar 2012 13:31:47 +0100
parents 8d87e1203402
children
rev   line source
109
8d87e1203402 Renamed CharacterStatistics module to character_statistics
KarstenBock@gmx.net
parents: 92
diff changeset
1 from character_statistics import CharacterStatistics
65
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
2 from containable import Containable
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
3 from container import Container
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
4 from description import Description
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
5 from dialogue import Dialogue
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
6 from fifeagent import FifeAgent
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
7 from lockable import Lockable
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
8 from usable import Usable
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
9 from change_map import ChangeMap
67
1a450a764817 Added the Equip component to the __init__.py of the components package.
KarstenBock@gmx.net
parents: 65
diff changeset
10 from equipable import Equipable
86
a9cc5559ec2a Move the identifier field from the FifeAgent component to the new General component.
KarstenBock@gmx.net
parents: 67
diff changeset
11 from equip import Equip
87
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
12 from general import General
90
4a8a0cd7f79a Added Behaviour component.
KarstenBock@gmx.net
parents: 87
diff changeset
13 from behaviour import Behaviour
92
84b5808d995c Added Graphics component.
KarstenBock@gmx.net
parents: 90
diff changeset
14 from graphics import Graphics
87
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
15
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
16 components = {
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
17 "general": General(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
18 "characterstats": CharacterStatistics(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
19 "containable": Containable(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
20 "container": Container(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
21 "description": Description(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
22 "dialogue": Dialogue(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
23 "fifeagent": FifeAgent(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
24 "lockable": Lockable(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
25 "usable": Usable(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
26 "change_map": ChangeMap(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
27 "equipable": Equipable(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
28 "equip": Equip(),
90
4a8a0cd7f79a Added Behaviour component.
KarstenBock@gmx.net
parents: 87
diff changeset
29 "behaviour": Behaviour(),
92
84b5808d995c Added Graphics component.
KarstenBock@gmx.net
parents: 90
diff changeset
30 "graphics": Graphics(),
87
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
31 }