@Override
	public void onRepaint(Graphics g) {
		
		try {
		
			for(final int i : Skills.getExperiences()) {
				totalXP += i;
			}
			
			currCount = totalXP;
			totalXP = 0;
			
			if(lastCount != currCount) {
				combined = combined + Settings.amount;
			}
			lastCount = currCount;
			
			paint(g);
		} catch (Exception a) {
			a.printStackTrace();
		}
		
		mt.add(Mouse.getLocation());
		mt.draw(g);

	}