Removed bad code
This commit is contained in:
parent
e68f820765
commit
1d922b846c
1 changed files with 1 additions and 3 deletions
4
game.py
4
game.py
|
@ -58,8 +58,6 @@ def generate_targets(player):
|
||||||
if group[index].type != "SHOOTER":
|
if group[index].type != "SHOOTER":
|
||||||
group[index].type == "SHOOTER"
|
group[index].type == "SHOOTER"
|
||||||
changed = True
|
changed = True
|
||||||
else:
|
|
||||||
group[randint(0, len(group)-1)].type == "NORMAL"
|
|
||||||
return group
|
return group
|
||||||
|
|
||||||
|
|
||||||
|
@ -76,11 +74,11 @@ def play(window):
|
||||||
bullet_group = pygame.sprite.Group()
|
bullet_group = pygame.sprite.Group()
|
||||||
|
|
||||||
clock = pygame.time.Clock()
|
clock = pygame.time.Clock()
|
||||||
PLAYING_GAME = True
|
|
||||||
target_movement_timeout_default = FPS * 0.5
|
target_movement_timeout_default = FPS * 0.5
|
||||||
target_movement_timeout = target_movement_timeout_default
|
target_movement_timeout = target_movement_timeout_default
|
||||||
|
|
||||||
logging.info("Game Started.")
|
logging.info("Game Started.")
|
||||||
|
PLAYING_GAME = True
|
||||||
while PLAYING_GAME:
|
while PLAYING_GAME:
|
||||||
window.fill((0,0,0))
|
window.fill((0,0,0))
|
||||||
|
|
||||||
|
|
Reference in a new issue