示例#1
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            mStats          = new AsyncStats();
            mStats.Updated += Stats_Updated;

            statsGrid1.SetStats(mStats.StatRows);

            ClientSize = new Size(statsGrid1.Width + 20, ClientSize.Height);

            mStats.Run();
        }
示例#2
0
 public PowerStat(AsyncStats stats, PowerType type)
     : base(stats)
 {
     mType = type;
 }
示例#3
0
 public RaceStat(AsyncStats stats, Race race)
     : base(stats)
 {
     mRace = race;
 }
示例#4
0
 public ItemStat(AsyncStats stats, ItemType type)
     : base(stats)
 {
     mType = type;
 }
示例#5
0
 public StatBase(AsyncStats stats)
 {
     mStats  = stats;
     mCounts = new int[100];
 }