import java.util.Timer;
import java.util.TimerTask;

public class TacheTimer extends TimerTask {

	private JGrilleDeJeu grille;

	public TacheTimer(JGrilleDeJeu grille) {
		this.grille = grille;
	}

	@Override
	public void run() {
		this.grille.avancerSnake();
	}
}