about summary refs log tree commit diff homepage
path: root/brutalmaze/characters.py
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-03-02 00:13:23 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-03-02 22:28:49 +0700
commit7bd13996fbd4a45ac0875bb73719d13fed5a94ec (patch)
treec9f446026fdc5977401027213d3fc58b04b1a713 /brutalmaze/characters.py
parent6f9eb44e2ad3f9cd7b33b8bed35beffbce4630fc (diff)
downloadbrutalmaze-7bd13996fbd4a45ac0875bb73719d13fed5a94ec.tar.gz
Add command-line options for socket server
Diffstat (limited to 'brutalmaze/characters.py')
-rw-r--r--brutalmaze/characters.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/brutalmaze/characters.py b/brutalmaze/characters.py
index 4fb3b8f..070f697 100644
--- a/brutalmaze/characters.py
+++ b/brutalmaze/characters.py
@@ -268,8 +268,8 @@ class Enemy:
     def draw(self):
         """Draw the enemy."""
         if get_ticks() < self.maze.next_move and not self.awake: return
-        radious = self.maze.distance/SQRT2 - self.awake*2
-        square = regpoly(4, radious, self.angle, *self.get_pos())
+        radius = self.maze.distance/SQRT2 - self.awake*2
+        square = regpoly(4, radius, self.angle, *self.get_pos())
         fill_aapolygon(self.maze.surface, square, self.get_color())
 
     def update(self):