protected void createButton(int x, int y, Buttons button) { buttonList.add( new IconButton( buttonID++, width / 2 + x, height / 2 + y, ((state & (1L << button.ordinal())) != 0), button, this)); }