public void startAnimation() {
		
		if(interval == -1) {return;}
		
		if(animation == null) {
			
			frameIndex.add(0);
			animation  = new Timer(interval, new ActionListener(){

				@Override
				public void actionPerformed(ActionEvent e) {
					for(int i=0; i<entity.size(); i++) {
						if(frameIndex.get(i) < frameTotal) {frameIndex.set(i, frameIndex.get(i)+1);}
						else                               {frameIndex.set(i, 0);}
						sendImage(i);
					}
				}
				
			});
			animation.setRepeats(true);
			animation.start();
			return;
			
		}
		
		if(animation.isRunning()) {return;}
		else                      {animation.start();}
		
		
	}