# HG changeset patch # User KarstenBock@gmx.net # Date 1315485001 -7200 # Node ID 4f974711606160f3fa55243fd64c3816eeffea9a # Parent 1bdadb768bcf8147664b2041f065d2350eec006c Removed behaviour component. Behaviour is already stored in the fifeagent component. diff -r 1bdadb768bcf -r 4f9747116061 components/Behavior.py --- a/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 1bdadb768bcf -r 4f9747116061 world.py --- a/world.py Thu Sep 08 14:20:31 2011 +0200 +++ b/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()