public void makePowerups() 
	{
		Random rand = new Random();
		
		/*Clear the powerup vector*/
		powerups.clear();
		
		/*Go through every brick and check which bricks should contain powerups*/
		for(Brick brick : bricks)
		{
			/*The brick should contain a powerup*/
			if(rand.nextFloat() <= POWERUP_PROB)
			{
				/*Add a random powerup*/
				int powerupType = rand.nextInt(POWERUP_TYPES);
				
				switch(powerupType)
				{
				case 0://Paddle size
					powerups.add(new PaddleLengthPowerup(brick.x, brick.y, brick));
					break;
				case 1://Floor
					powerups.add(new FloorPowerup(brick.x, brick.y, brick));
					break;
				case 2://Ball
					powerups.add(new BallPowerup(brick.x, brick.y, brick, this));
					break;
				case 3://Shooter
					powerups.add(new ShooterPowerup(brick.x, brick.y, brick));
					break;
				default:
					System.err.println("Breakout: Unknown powerup type.");
					System.exit(1);
				}
			}
		}
	}