package sk.upjs.paz.week7;
import java.io.File;
import sk.upjs.jpaz2.*;
import sk.upjs.jpaz2.animators.TurtleTurnAnimator;
public class Launcher {
public static void main(String[] args) {
// SmartTurtle franklin = new SmartTurtle();
// // 5
// System.out.println(franklin.stringToInt("asd", 5));
// // 123
// System.out.println(franklin.stringToInt("123", 0));
TurtleCommander commander = new TurtleCommander();
// File adresar = new File("C:\\Users\\pc12\\Desktop\\odkazy");
// commander.listDirectory(adresar);
System.out.println(commander.countFiles(new File("C:\\data")));
System.out.println(commander.totalSizeOfFilesInDirectory(new File("C:\\data")));
File file = new File("trest.txt");
commander.punishment(file, "Student chodi na cvicenia vzdy pripraveny!", 100);
}
}