package com.alexrnl.gameoflife.service;

import com.alexrnl.gameoflife.world.World;

/**
 * Interface for listeners on a world in the game of life.
 * @author barfety_a
 */
public interface WorldListener {
	
	/**
	 * Called when a new generation has been generated.
	 * @param word
	 *        the world generated.
	 */
	void newGeneration (World word);
	
	/**
	 * Called when a world that was previously generated is generated again.
	 * @param world
	 *        the world generated.
	 * @param previousOccurence
	 *        the number of the generation is has occurred before.
	 */
	void loopGeneration (World world, int previousOccurence);
}

@@ -285,16 +285,17 @@
 aram wor
+l
 d%0D%0A%09 *  
@@ -358,16 +358,17 @@
 orld wor
+l
 d);%0D%0A%09%0D%0A

Fix spelling error in parameter