@Override
    public void paint(Graphics window)
    {
        int x = 10;
        if(leather != 0)
        {
           window.drawImage( leatherPic, 5 , x, 20 , 20 , null );
           x = x + 30;
           window.drawString("You have " + leather + " units", 30 , x);
        }
        if(cloth != 0)
        {
           window.drawImage( clothPic, 5 , x, 20 , 20 , null );
           x = x + 30;
           window.drawString("You have " + cloth + " units", 30 , x);
        }
        if( tools != 0 )
        {
           window.drawImage( toolsPic, 5 , x, 20 , 20 , null );
           x = x + 30;
           window.drawString("You have " + tools + " units", 30 , x);
        }
        if( wheat != 0 )
        {
           window.drawImage( wheatPic, 5 , x, 20 , 20 , null );
           x = x + 30;
           window.drawString("You have " + wheat + " units", 30 , x);
        }
        if( meat != 0 )
        {
           window.drawImage( meatPic, 5 , x, 20 , 20 , null );
           x = x + 30;
           window.drawString("You have " + meat + " units", 30 , x );
        }
        if( stone != 0 )
        {
           window.drawImage( stonePic, 5 , x, 20 , 20 , null );
           x = x + 30;
           window.drawString("You have " + stone + " units", 30 , x);
        }
        if( wood != 0 )
        {
           window.drawImage( woodPic, 5 , x, 20 , 20 , null );
           x = x + 30;
           window.drawString("You have " + wood + " units", 30 , x);
        }
        if( metal != 0 )
        {
           window.drawImage( metalPic, 5 , x, 20 , 20, null  );
           x = x + 30;
           window.drawString("You have " + metal + " units", 30 , x);
        }
        if( buildingMaterial != 0 )
        {
           window.drawImage( buildingMaterialPic, 5 , x, 20 , 20 , null );
           x = x + 30;
           window.drawString("You have " + buildingMaterial + " units", 30 , x);
        }
        
        
    }