public void paint(Graphics g){//Does all the paintings
        super.paint(g);
        
        Graphics2D g2d = (Graphics2D)g;
        
        if(inGame){   
            for(int i=0;i<grasList.size();i++){
                Gras gras;
                gras = (Gras) grasList.get(i);

                Image image = imageLoader.getImageGras();
                g2d.drawImage(image, gras.getxPos(), gras.getyPos(), 64, 64, this);
            }
            
            for(int i=0;i<stoneList.size();i++){
                Stone stone;
                stone = (Stone) stoneList.get(i);

                Image image = imageLoader.getImageStone();
                g2d.drawImage(image, stone.getxPos(), stone.getyPos(), 64, 64, this);
            }
            //draw Character
            g2d.drawImage(imageLoader.getImageCharacter(character.getImageLine(), character.getImageRow()), WIDTH/2-64, HEIGHT/2-64, 128, 128, this);
            //draw Character-Colliderbox
            g2d.setColor(Color.RED);
            g2d.drawRect(WIDTH/2-32+12, HEIGHT/2-32+24, 64-24, 64+6);
        }
    }