package cc.glsn.v15.life; public class LifeConfig { int XCells; int YCells; //Number of pixels in height and width for each cell int DispSize; boolean Live[]; boolean Spawn[]; long MinFrameTime; double SpawnPercent; double StateCheckPercent; int MaxRecentStates; public LifeConfig() { XCells=200; YCells=200; DispSize=5; Live=new boolean[9]; Spawn=new boolean[9]; MinFrameTime=100; SpawnPercent=0.0500; StateCheckPercent=0.1; MaxRecentStates=1000; String Def="23/3"; resolveString(Def); } void resolveString(String Def) { boolean BeforeSlash=true; for(int i=0; i