public void set(int x, int y, BiomeCorePoint corePoint, int corePointId) { this.x = x; this.y = y; this.corePoint = corePoint; this.corePointId = corePointId; //this.calcDiff(); //this.calcAngle(); }
public void createRandomPoints(int globalCount, int xMax, int yMax) { this.corePoints = new List <BiomeCorePoint>(); BiomeCorePoint tempPoint = new BiomeCorePoint(); tempPoint.textureIndex = this.textureIndex; for (int i = 0; i < Math.Abs(globalCount * this.globalPercentage); i++) { tempPoint.createRandom(0, xMax, 0, yMax); this.addCorePoint(tempPoint); } }
public BiomePoint(int x, int y, BiomeCorePoint corePoint, int corePointId) { this.set(x, y, corePoint, corePointId); }