package y3;
import y3.players.Monster;
import y3.players.Player;
import y3.players.Warrior;
import y3.players.Wizard;
import y3.playground.Board;
import y3.threadViz.ThreadViz;
/**
* Testprogramm.
* Luuakse 3 koletist, 2 s�dalast ja 1 v�lur, kes pannakse j�rjest m�ngulauale.
* Thread'ide k�igu paremaks j�lgimiseks on lisatud l�ppu ThreadViz abiga genereeritud UI, mis kuvab paralleelselt l�imede tegevust.
*
* @author Jaak Laanpere
*
*/
public class Program {
public static void main(String[] args) {
Board b = new Board();
Player p1 = new Wizard("Arry Poeter", b);
Player p2 = new Monster("Teletups", b);
Player p3 = new Monster("Freddy", b);
Player p4 = new Monster("Kraken", b);
Player p5 = new Warrior("Don Quixote", b);
Player p6 = new Warrior("Wolverine", b);
ThreadViz.showUI();
}
}