comparison demos/rpg/scripts/actors/baseactor.py @ 535:9fbe3dce925a

Added custom exceptions.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 31 May 2010 18:44:48 +0000
parents 65a92a2449d5
children 1afe46247ab1
comparison
equal deleted inserted replaced
534:65a92a2449d5 535:9fbe3dce925a
32 from scripts.objects.baseobject import ObjectActionListener, BaseGameObject, GameObjectTypes 32 from scripts.objects.baseobject import ObjectActionListener, BaseGameObject, GameObjectTypes
33 33
34 Actions = {'NONE':0, 34 Actions = {'NONE':0,
35 'PICKUP':1, 35 'PICKUP':1,
36 'TALK':2, 36 'TALK':2,
37 'HIT':3, 37 'ATTACK':3,
38 'OPEN':4, 38 'OPEN':4,
39 'ENTER':5} 39 'ENTER':5}
40 40
41 class BaseAction(object): 41 class BaseAction(object):
42 def __init__(self): 42 def __init__(self):