@Override
	public synchronized void paintComponent(Graphics g) {
		super.paintComponent(g);
		map.generatePowerups();
		
		for(Player dead : map.getDeadPlayers()){
			dead.draw(g);
		}
		
		for(Ammo a : map.getAmmo()){
			a.draw(g);
		}
		
		for(Health h : map.getHealth()){
			h.draw(g);
		}
		
		for(Zombie zomPlayer : map.getZombies()){
			zomPlayer.draw(g);
		}
		
		for(Human humPlayer : map.getHumans()){
			humPlayer.draw(g);
		}

        for (Wall wall: map.getWalls()) {
            wall.draw(g);
        }
		
		for(Bullet bullet : map.getBullets()){
			bullet.draw(g);
		}


		map.moveBullets();
		map.cleanDeadBullets();
	}