Skip to content
Snippets Groups Projects
Unverified Commit 754cb673 authored by Drahflow's avatar Drahflow
Browse files

Level10 boss must not flee

parent cbe74e30
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,8 @@ class LeftCannon(Enemy):
self.exploding = 0
def update(self, tick):
self.y += 0.2
if self.y < 150:
self.y += 0.2
if self.exploding > 0:
if self.exploding == 30:
......@@ -44,7 +45,8 @@ class RightCannon(Enemy):
self.exploding = 0
def update(self, tick):
self.y += 0.2
if self.y < 150:
self.y += 0.2
if self.exploding > 0:
if self.exploding == 30:
......@@ -82,7 +84,8 @@ class Boss10(Enemy):
objects.append(self.rightCannon)
def update(self, tick):
self.y += 0.2
if self.y < 150:
self.y += 0.2
def draw(self):
super().draw()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment