comparison demos/rio_de_hola/scripts/agents/agent.py @ 395:70697641fca3

Adding the correct FIFE header to rio_de_hola and pychan_demo files.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 27 Jan 2010 04:36:03 +0000
parents 64738befdf3b
children 3dff106b945b
comparison
equal deleted inserted replaced
394:5bb52a43f48b 395:70697641fca3
1 # -*- coding: utf-8 -*-
2
3 # ####################################################################
4 # Copyright (C) 2005-2009 by the FIFE team
5 # http://www.fifengine.de
6 # This file is part of FIFE.
7 #
8 # FIFE is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU Lesser General Public
10 # License as published by the Free Software Foundation; either
11 # version 2.1 of the License, or (at your option) any later version.
12 #
13 # This library is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # Lesser General Public License for more details.
17 #
18 # You should have received a copy of the GNU Lesser General Public
19 # License along with this library; if not, write to the
20 # Free Software Foundation, Inc.,
21 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 # ####################################################################
23
1 from fife import fife 24 from fife import fife
2 from scripts.common.common import ProgrammingError 25 from scripts.common.common import ProgrammingError
3 26
4 class Agent(fife.InstanceActionListener): 27 class Agent(fife.InstanceActionListener):
5 def __init__(self, model, agentName, layer, uniqInMap=True): 28 def __init__(self, model, agentName, layer, uniqInMap=True):