public static BufferedImage loadImage(String path){
        try {
            return ImageIO.read(new FileInputStream("res/" + path + ".png"));
        } catch (IOException e) {
            e.printStackTrace();
        }
        return null;
    }