Browse Source

Merge branch 'Ohne_Drag_and_Drop' of https://git.tk.informatik.tu-darmstadt.de/carlos.garcia/praktikum-holons into Ohne_Drag_and_Drop

Edgardo Palza 8 years ago
parent
commit
820b1bb5db
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/classes/HolonElement.java
  2. 1 1
      src/ui/model/Model.java

+ 1 - 1
src/classes/HolonElement.java

@@ -27,7 +27,7 @@ public class HolonElement {
 	 * Energy at each point of the graph with 50 predefined points. At the
 	 * beginning, it starts with all values at energy
 	 */
-	float[] energyAt = new float[50];
+	float[] energyAt = new float[100];
 	//Points on the UnitGraph
 	LinkedList<Point> graphPoints = new LinkedList<>();
 

+ 1 - 1
src/ui/model/Model.java

@@ -18,7 +18,7 @@ public class Model {
 	// Global Variables
 	private static int SCALE = 50; // Picture Scale
 	private static int SCALE_DIV2 = SCALE / 2;
-	private static final int ITERATIONS = 50;
+	private static final int ITERATIONS = 100;
 	private int CUR_ITERATION = 0;
 	// ID of the Selected Object
 	private CpsObject selectedCpsObject;