about summary refs log tree commit diff homepage
path: root/brutalmaze/weapons.py
diff options
context:
space:
mode:
Diffstat (limited to 'brutalmaze/weapons.py')
-rw-r--r--brutalmaze/weapons.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/brutalmaze/weapons.py b/brutalmaze/weapons.py
index e42f127..75ccb67 100644
--- a/brutalmaze/weapons.py
+++ b/brutalmaze/weapons.py
@@ -1,4 +1,4 @@
-# characters.py - module for weapon classes
+# Weapon classes
 # Copyright (C) 2017-2020  Nguyễn Gia Phong
 #
 # This file is part of Brutal Maze.
@@ -20,8 +20,7 @@ __doc__ = 'Brutal Maze module for weapon classes'
 
 from math import cos, sin
 
-from .constants import (BG_COLOR, BULLET_LIFETIME, BULLET_SPEED,
-                        ENEMY_HP, SFX_SHOT_ENEMY, SFX_SHOT_HERO, TANGO)
+from .constants import BG_COLOR, BULLET_LIFETIME, BULLET_SPEED, ENEMY_HP, TANGO
 from .misc import fill_aapolygon, regpoly
 
 
@@ -41,9 +40,9 @@ class Bullet:
         self.x, self.y, self.angle, self.color = x, y, angle, color
         self.fall_time = BULLET_LIFETIME
         if color == 'Aluminium':
-            self.sfx_hit = SFX_SHOT_ENEMY
+            self.sfx_hit = 'shot-enemy.ogg'
         else:
-            self.sfx_hit = SFX_SHOT_HERO
+            self.sfx_hit = 'shot-hero.ogg'
 
     def update(self, fps, distance):
         """Update the bullet."""
@@ -77,6 +76,7 @@ class Bullet:
 
 class LockOn:
     """Lock-on device to assist hero's aiming.
+
     This is used as a mutable object to represent a grid of wall.
 
     Attributes: