Update GamePanel.java

Full change of the class