コード例 #1
0
        public StatPotentials()
        {
            InitializeComponent();

            stats = new List <StatPotential>();
            for (int s = 0; s < 8; s++)
            {
                StatPotential stat = new StatPotential(s, Utils.precision(s) == 3);
                groupBox1.Controls.Add(stat);
                stat.Location = new Point(3, 58 + s * 30);
                stats.Add(stat);
            }
            oldLevels = new int[8];
        }
コード例 #2
0
        public StatPotentials()
        {
            InitializeComponent();

            stats = new StatPotential[values.Values.STATS_COUNT];
            for (int s = 0; s < values.Values.STATS_COUNT; s++)
            {
                StatPotential stat = new StatPotential(s, Utils.Precision(s) == 3);
                stats[s] = stat;
            }
            for (int s = 0; s < values.Values.STATS_COUNT; s++)
            {
                int si = values.Values.statsDisplayOrder[s];
                flpStats.Controls.Add(stats[si]);
                flpStats.SetFlowBreak(stats[si], true);
            }
            oldLevels = new int[values.Values.STATS_COUNT];
        }