# HG changeset patch # User KarstenBock@gmx.net # Date 1315485001 -7200 # Node ID 4934b62e0e48c3478796ec52c7536f1b1e2d7017 # Parent c3350fc9cd459663a8c9125605bdb83191ab8fa9 Removed behaviour component. Behaviour is already stored in the fifeagent component. diff -r c3350fc9cd45 -r 4934b62e0e48 src/parpg/components/Behavior.py --- a/src/parpg/components/Behavior.py Thu Sep 08 14:20:31 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +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 . - -from bGrease.component import Component - -class Behavior(Component): - """ - Component that defines how an entity interacts with the world though - scripting. - """ - - def __init__(self): - """Constructor""" - Component.__init__(self, scripts=list) diff -r c3350fc9cd45 -r 4934b62e0e48 src/parpg/world.py --- a/src/parpg/world.py Thu Sep 08 14:20:31 2011 +0200 +++ b/src/parpg/world.py Thu Sep 08 14:30:01 2011 +0200 @@ -11,7 +11,6 @@ def configure(self): """Configure the game world's components, systems and renderers""" - self.components.behaviour = components.Behavior() self.components.characterstats = components.CharacterStatistics() self.components.containable = components.Containable() self.components.container = components.Container()