public ClampNode(NodeMap map) : base(map) { max = 1; min = 0; cutoff = true; doOperation(); }
public FileNode(NodeMap map, String fileName) : base(map) { image = null; xPos = 0; yPos = 0; xScale = 1; yScale = 1; }
public Project() { Width = 640; Height = 480; frequency = 6; seaLevel = 0.25f; equiDisp = new GridDisplayEquiRect(frequency); map = new NodeMap(Width, Height); }
public Project(int w, int h, int f, float sl) { Width = w; Height = h; frequency = f; seaLevel = sl; equiDisp = new GridDisplayEquiRect(frequency); map = new NodeMap(Width, Height); }
public Node(NodeMap map) { int needed = getNeeded(); int opt = getOptional(); enableMask = false; //This is here to make sure that setInput can always be called children = new Node[needed + opt]; this.map = map; outGrid = new RectGrid(map.Height, map.Width); setDefault(); }
public DrawNode(NodeMap map) : base(map) { }
public DebugNode2(NodeMap map) : base(map) { }
public NoiseNode(NodeMap map) : base(map) { //The perlin class sets its own defaults upon instantiation nodePerlin = new Perlin(); doOperation(); }
//Parent class for generation things //subclass of normal nodes //start of the chain type deal public InputNode(NodeMap map) : base(map) { }
public OutputNode(NodeMap map) : base(map) { this.parent = null; this.mask = null; }
public CombinerNode(NodeMap map) : base(map) { currentMode = 0; }