diff options
author | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2018-03-20 14:17:17 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2018-03-20 14:17:17 +0700 |
commit | bbc98be3176c848af49f95a80f8abee1f8516fa8 (patch) | |
tree | 21e78aad160e5b21ce8ad416413af44e03db8836 /brutalmaze | |
parent | 2bd7352aec15bd7af5373db6ed0a2ba03d31b185 (diff) | |
download | brutalmaze-bbc98be3176c848af49f95a80f8abee1f8516fa8.tar.gz |
Add socket client example and fix enemy-fall-of-the-map bug 0.6.4
Diffstat (limited to 'brutalmaze')
-rw-r--r-- | brutalmaze/game.py | 2 | ||||
-rw-r--r-- | brutalmaze/maze.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/brutalmaze/game.py b/brutalmaze/game.py index b78e375..cbe5e6c 100644 --- a/brutalmaze/game.py +++ b/brutalmaze/game.py @@ -17,7 +17,7 @@ # You should have received a copy of the GNU Affero General Public License # along with Brutal Maze. If not, see <https://www.gnu.org/licenses/>. -__version__ = '0.6.3' +__version__ = '0.6.4' import re from argparse import ArgumentParser, FileType, RawTextHelpFormatter diff --git a/brutalmaze/maze.py b/brutalmaze/maze.py index 0516cb5..665d9c3 100644 --- a/brutalmaze/maze.py +++ b/brutalmaze/maze.py @@ -323,8 +323,8 @@ class Maze: self.next_move -= 1000.0 / self.fps self.next_slashfx -= 1000.0 / self.fps + self.rotate() if dx or dy: - self.rotate() for enemy in self.enemies: enemy.wake() for bullet in self.bullets: bullet.place(dx, dy) |