Mercurial > parpg-source
changeset 49:4f9747116061
Removed behaviour component. Behaviour is already stored in the fifeagent component.
author | KarstenBock@gmx.net |
---|---|
date | Thu, 08 Sep 2011 14:30:01 +0200 |
parents | 1bdadb768bcf |
children | b4a525456c99 |
files | components/Behavior.py world.py |
diffstat | 2 files changed, 0 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- 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 <http://www.gnu.org/licenses/>. - -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)
--- 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()