@Deprecated
    public void loadTexture(String filename)
    {
        try
        {
            texture = TextureLoader.getTexture("PNG", new FileInputStream("./res/" + filename));
        }
        catch (IOException e)
        {
            e.printStackTrace();
        }
    }