public static BufferedImage getSprite(String file, int tileSize, int xGrid, int yGrid){
    	if (powerupSpriteSheet == null) {
            powerupSpriteSheet = loadSprite(file);
        }
        return powerupSpriteSheet.getSubimage(xGrid * tileSize, yGrid * tileSize, tileSize, tileSize);
    }