@Override
   public void onRepaint(Graphics g) {

       try {

           for(final int i : Skills.getExperiences()) {
               totalXP += i;
           }

           currCount = totalXP;
           totalXP = 0;

           if(lastCount != currCount) {
               pocketed++;
           }
           lastCount = currCount;

           paint(g);
       } catch (Exception a) {
           a.printStackTrace();
       }

       mt.add(Mouse.getLocation());
       mt.draw(g);

   }