Mercurial > parpg-source
changeset 42:66a06de1bddc
Renamed dialog to dialogue
author | KarstenBock@gmx.net |
---|---|
date | Tue, 06 Sep 2011 14:37:54 +0200 |
parents | ff3e395abf91 |
children | 8f9e9f47c363 |
files | components/__init__.py components/dialog.py components/dialogue.py world.py |
diffstat | 4 files changed, 23 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- a/components/__init__.py Mon Sep 05 15:00:34 2011 +0200 +++ b/components/__init__.py Tue Sep 06 14:37:54 2011 +0200 @@ -3,7 +3,7 @@ from containable import Containable from container import Container from description import Description -from dialog import Dialog +from dialogue import Dialogue from fifeagent import FifeAgent from lockable import Lockable from usable import Usable
--- a/components/dialog.py Mon Sep 05 15:00:34 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -from bGrease.component import Component - -class Dialog(Component): - """Component that stores the dialogue""" - - def __init__(self): - """Constructor""" - Component.__init__(self, dialogue=object)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/dialogue.py Tue Sep 06 14:37:54 2011 +0200 @@ -0,0 +1,21 @@ +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +from bGrease.component import Component + +class Dialogue(Component): + """Component that stores the dialogue""" + + def __init__(self): + """Constructor""" + Component.__init__(self, dialogue=object)
--- a/world.py Mon Sep 05 15:00:34 2011 +0200 +++ b/world.py Tue Sep 06 14:37:54 2011 +0200 @@ -16,7 +16,7 @@ self.components.containable = components.Containable() self.components.container = components.Container() self.components.description = components.Description() - self.components.dialog = components.Dialog() + self.components.dialogue = components.Dialogue() self.components.fifeagent = components.FifeAgent() self.components.lockable = components.Lockable() self.components.usable = components.Usable()