diff options
author | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2018-03-02 00:13:23 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2018-03-02 22:28:49 +0700 |
commit | 7bd13996fbd4a45ac0875bb73719d13fed5a94ec (patch) | |
tree | c9f446026fdc5977401027213d3fc58b04b1a713 /brutalmaze/characters.py | |
parent | 6f9eb44e2ad3f9cd7b33b8bed35beffbce4630fc (diff) | |
download | brutalmaze-7bd13996fbd4a45ac0875bb73719d13fed5a94ec.tar.gz |
Add command-line options for socket server
Diffstat (limited to 'brutalmaze/characters.py')
-rw-r--r-- | brutalmaze/characters.py | 4 |
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): |