comparison nagslang/events.py @ 363:3dd08e18580f

Acid attacks shoot things that look like acid
author Stefano Rivera <stefano@rivera.za.net>
date Fri, 06 Sep 2013 20:25:06 +0200
parents 3dd32686dbc3
children 866cdc74b26a
comparison
equal deleted inserted replaced
362:d0aeb893967d 363:3dd08e18580f
46 super(DoorEvent, cls).post(destination=destination, dest_pos=dest_pos) 46 super(DoorEvent, cls).post(destination=destination, dest_pos=dest_pos)
47 47
48 48
49 class FireEvent(UserEvent): 49 class FireEvent(UserEvent):
50 @classmethod 50 @classmethod
51 def post(cls, source, impulse, damage, source_collision_type): 51 def post(cls, source, impulse, damage, bullet_type, source_collision_type):
52 super(FireEvent, cls).post(source=source, impulse=impulse, 52 super(FireEvent, cls).post(source=source, impulse=impulse,
53 damage=damage, 53 damage=damage, bullet_type=bullet_type,
54 source_collision_type=source_collision_type) 54 source_collision_type=source_collision_type)
55 55
56 56
57 class EnemyDeathEvent(UserEvent): 57 class EnemyDeathEvent(UserEvent):
58 @classmethod 58 @classmethod