private void HandlePlayerInput(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Left && !PlayerExits(Direction.LEFT))
     {
         player.Move(Direction.LEFT, PlayerConstants.PLAYER_SPEED);
     }
     else if (e.KeyCode == Keys.Right && !PlayerExits(Direction.RIGHT))
     {
         player.Move(Direction.RIGHT, PlayerConstants.PLAYER_SPEED);
     }
     else if (e.KeyCode == Keys.Up)
     {
         player.Move(Direction.TOP, PlayerConstants.JUMP_SPEED);
         playerJumped = true;
     }
     else if (e.KeyCode == Keys.Space)
     {
         var bullet = GameObjectFactory.CreateBullet(player.PictureBox.Left + 1, player.PictureBox.Top + PlayerConstants.PLAYER_X);
         Render(bullet);
         bullets.Add(bullet);
     }
 }