コード例 #1
0
        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;
        }
コード例 #2
0
        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;
        }
コード例 #3
0
 public override void Initialize()
 {
     targetDepth       = new NormDist(3, 10, 7, 15, Rand.Next());
     generatedEvilRoom = false;
 }
コード例 #4
0
 public override void Initialize()
 {
     _targetDepth = new NormDist(1, 5.5f, 4, 7, Rand.Next());
 }
コード例 #5
0
 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());
 }
コード例 #6
0
 public override void Initialize()
 {
     targetDepth = new NormDist(1, 5.5f, 4, 7, Rand.Next());
 }
コード例 #7
0
 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());
 }
コード例 #8
0
 public override void Initialize()
 {
     targetDepth = new NormDist(3, 10, 7, 15, Rand.Next());
     generatedEvilRoom = false;
 }