package game;
import output.HistoryFileWriter;
import output.StoreFileWriter;
/**
* class to reset xml to initial values
*
* @author Rukmal Fernando
* @author Hardik Kotecha
* @author Radhika Srinivasan
*/
public class ResetXml
{
private final static String historyText = "\n";
private final static String storeText = "\n";
/**
* reset the xml to initial game state
*/
public static void reset()
{
HistoryFileWriter hWriter = HistoryFileWriter.initialize();
hWriter.writeFile( historyText );
StoreFileWriter sWriter = StoreFileWriter.initialize();
sWriter.writeFile( storeText );
}
}