Class PowerUpPickup

    • Constructor Detail

      • PowerUpPickup

        public PowerUpPickup​(PowerUp powerUp,
                             java.lang.String texName,
                             com.badlogic.gdx.math.Vector2 pos,
                             int cooldown)
        Generate an obstacle.
        Parameters:
        powerUp - The Power Up being picked up
        texName - The texture to show for the obstacle.
        pos - The position of the power up
        cooldown - The cooldown before the power up can be used again