
package ch.hearc.pokerface.generatePFvalues;

import ch.hearc.pokerface.gameengine.cards.Card;
import ch.hearc.pokerface.gameengine.cards.CardColor;
import ch.hearc.pokerface.gameengine.cards.CardValue;
import ch.hearc.pokerface.gameengine.player.Player;
import ch.hearc.pokerface.gameengine.subsets.Pocket;


public class UsePreFlopSim
{
	/*------------------------------------------------------------------*\
	|*							Methodes Public							*|
	\*------------------------------------------------------------------*/

	public static void main(String[] args)
	{
		main();
	}

	public static void main()
	{
		Pocket p = new Pocket();
		p.add(new Card(CardValue.Three,CardColor.Clubs));
		p.add(new Card(CardValue.Seven,CardColor.Hearts));

		Player player = new Player(null,0, null);
		player.addCard(new Card(CardValue.Three,CardColor.Clubs));

		long start = System.currentTimeMillis();
		player.addCard(new Card(CardValue.Seven,CardColor.Hearts));

		while(player.getPreFlopValues() == null){}

		System.out.println((System.currentTimeMillis()-start)/1000.0 + "s");
		System.out.println(player.getPocket());
		System.out.println(player.getPreFlopValues());
	}
}


@@ -244,21 +244,142 @@
 ine.
-player.Player
+gamecore.GameEngine;%0D%0Aimport ch.hearc.pokerface.gameengine.player.Player;%0D%0Aimport ch.hearc.pokerface.gameengine.player.profile.Profile
 ;%0D%0Ai
@@ -744,16 +744,149 @@
 ()%0D%0A%09%7B%0D%0A
+%09%09int nbPlayer = 10;%0D%0A%09%09Profile profile = new Profile(%22test%22,1);%0D%0A%09%09GameEngine ge = new GameEngine(null,0,nbPlayer,profile,0,null);%0D%0A
 %09%09Pocket
@@ -1047,20 +1047,21 @@
 yer(
-null,0, null
+profile,0, ge
 );%0D%0A

Fix generatePFvalues/UsePreFlopSim.java