private void MainForm_Load(object sender, System.EventArgs e) { NormDist normDist = new NormDist(); normDist.Db.Conn = new OleDbConnection(ConnectionBuilder.Instance.Conn); normDist.Parent = this.panel1; normDist.Dock = DockStyle.Fill; normDist.Refresh(); normDist.Show(); normDist.OnLog += OnMessageLog; }
private void normDist_Click(object sender, EventArgs e) { this.panel1.Controls.Clear(); NormDist ctl = new NormDist(); ctl.Db.Conn = new OleDbConnection(ConnectionBuilder.Instance.Conn); ctl.Parent = this.panel1; ctl.Dock = DockStyle.Fill; ctl.Show(); ctl.OnLog += OnMessageLog; }
public override void Initialize() { targetDepth = new NormDist(3, 10, 7, 15, Rand.Next()); generatedEvilRoom = false; }
public override void Initialize() { _targetDepth = new NormDist(1, 5.5f, 4, 7, Rand.Next()); }
public override void Initialize() { targetDepth = new NormDist(3, 20, 15, 35, Rand.Next()); specialRmCount = new NormDist(1.5f, 0.5f, 0, 5, Rand.Next()); specialRmDepthDist = new NormDist(5, 20, 10, 35, Rand.Next()); }
public override void Initialize() { targetDepth = new NormDist(1, 5.5f, 4, 7, Rand.Next()); }