Blame view

src/preypredator/PPWorld.java 885 Bytes
1b1e928cc   glaville   initial import of...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
  package preypredator;
  
  import org.jocl.struct.Struct;
  
  public class PPWorld extends Struct {
  	
  	public int worldSize;
  	
  	public float grassMin;
  	public float grassMax;
  	public float grassOrig;
  	public float grassFactor;
  	
  	public float preyOrig;
  	public float preyMax;
  	public float preyConsum;
  	
  	public float preyMaxEnergy;
  	public float preyMaxTransfer;
  	
  	public float predConsum;
  	public float predMaxEnergy;
  	public float predMaxTransfer;
  	
  	
  	public static final float GRASS_MIN = 0;
  	public static final float GRASS_MAX = 100;
  	public static final float GRASS_ORIG = 20;
  	public static final float GRASS_FACT = 1.1f;
  	
  	public static final float PREY_ORIG = 10;
  	public static final int PREY_RADIUS = 5;
  	public static final int PREY_MAX = 100;
  	
  	public static final float PRED_ORIG = 10;
  	public static final int PRED_RADIUS = 5;
  	public static final int PRED_MAX = 100;
  	
  }