/*
 * Created on 22.11.2004
 *
 */
package de.farafin.snEADy.world;

import de.farafin.snEADy.communication.D_GameInfo;
import de.farafin.snEADy.communication.D_Level;

/**
 * @author roland, lars
 * 
 *  
 * @version $Revision: 1.5 $
 */

public interface I_World_interface
{
	//	pDataClone ist Kopie von pData aus M_GameEngine, wird ge?ndert und in
	// M_GameEngine zur?ck aktualisiert auf pData!
	/**
	 * calculate the new playfield with the informations in gameInfo stores the
	 * changed data in gameInfo
	 * 
	 * @param gameInfo 
	 */
	public void update(D_GameInfo gameInfo);
	
	/**
	 * @return a copy of the contained Level
	 */
	public D_Level generateLevel();
	
	/**
	 * @param gameInfo a instance the informations should be filled in
	 */
	public void updateInfos(D_GameInfo gameInfo);
}