package alive;

/**
 * <ALIVE Project>
 * Environment configuration class
 * By Rogerio Neves
 * LSI - POLI - USP
 */

import java.awt.Component;

public class EnvConfig {
  public String codeBase = "file:./"; // Program path
  public boolean STAND_ALONE = true; // not in applet mode
  public boolean RENDER = true; // enable render
  public boolean STEREO = false; // enable stereo mode, if suported
  public boolean FULL_SCREEN = false; // display in full screen
  public double EYE_SEPARATION = 0.0066;  // stereo eye separation
  public double  CAM_FIELD = 1.22; // camera open angle in radians
  public boolean KEY_NAVIGATION = false; // enable key orbit behavior
  public boolean MOUSE_NAVIGATION = true; // enable mouse orbit behavior
  public boolean PICKING = false; // enable mouse picking
  public boolean[] view = {false, true, false, false, false, false}; // views
  public boolean TEXT_OUTPUT = true; // activate messages
  public String logFile = null; // save output file
  public boolean AUTOSIZE = true; // autosize window
  public int xSize = 300, ySize = 300; // window size
  public double xPos = 0, yPos = 0, zPos = 40; // cam position
  public double xMax =  25, yMax =  25, zMax =  5;    // experiment
  public double xMin = -25, yMin = -25, zMin = -5;    // bounds
  public boolean wrapx = false, wrapy = false, wrapz = false; // wraps around
  public double k = .9; // border elastic factor
  public double POP_LIMIT = 500; // population limit
  public boolean SEQUENTIAL = true; // sequencial mode, no multi-thread
  public boolean NET_CAST = false;
  public String ip = "228.5.6.7:6789";
  public int SLEEP = 1; // sleep time per env/agent cycles
}