import pygame
import sys


# THOSE ARE PLAYER ONLY EVENT METHODS
def key_z(event, self):
    if event.type == pygame.KEYUP:
        if event.key == pygame.K_z:
            self.projectile_pool.fire(self.movement_direction, self.player_position)


def pressed_quit(event):
    if event.type == pygame.QUIT:
        pygame.quit()
        sys.exit()

3e8ceda30a7c51bab387e2f2306cd5f520baee1e
<mask token>

<mask token>


def pressed_quit(event):
    if event.type == pygame.QUIT:
        pygame.quit()
        sys.exit()

<mask token>


def key_z(event, self):
    if event.type == pygame.KEYUP:
        if event.key == pygame.K_z:
            self.projectile_pool.fire(self.movement_direction, self.
                player_position)


def pressed_quit(event):
    if event.type == pygame.QUIT:
        pygame.quit()
        sys.exit()

import pygame
import sys


def key_z(event, self):
    if event.type == pygame.KEYUP:
        if event.key == pygame.K_z:
            self.projectile_pool.fire(self.movement_direction, self.
                player_position)


def pressed_quit(event):
    if event.type == pygame.QUIT:
        pygame.quit()
        sys.exit()

import pygame
import sys


# THOSE ARE PLAYER ONLY EVENT METHODS
def key_z(event, self):
    if event.type == pygame.KEYUP:
        if event.key == pygame.K_z:
            self.projectile_pool.fire(self.movement_direction, self.player_position)


def pressed_quit(event):
    if event.type == pygame.QUIT:
        pygame.quit()
        sys.exit()
