public void draw() { //GUI.BeginGroup(bookRect.getRect()); //spellbook.displayCurrentPage(); //GUI.EndGroup(); spellbook.displayScaledPage(this); spellbook.pageChangeButtons(prevRect.getRect(), nextRect.getRect()); }