Skip to content
Snippets Groups Projects
Commit 6ebca243 authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

don't spawn a million games

parent d6941825
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,8 @@ public class SimpleBattle {
static int nTicks = 1000;
static int pointsPerKill = 10;
static int releaseVelocity = 5;
static boolean visible = true;
boolean visible = true;
ArrayList<BattleController> controllers;
......@@ -129,6 +130,7 @@ public class SimpleBattle {
state.objects = copyObjects();
state.stats = copyStats();
state.currentTick = currentTick;
state.visible = false; //stop MCTS people having all the games :p
state.s1 = s1.copy();
state.s2 = s2.copy();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment