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