Beispiel #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();
        }
Beispiel #2
0
 public PowerStat(AsyncStats stats, PowerType type)
     : base(stats)
 {
     mType = type;
 }
Beispiel #3
0
 public RaceStat(AsyncStats stats, Race race)
     : base(stats)
 {
     mRace = race;
 }
Beispiel #4
0
 public ItemStat(AsyncStats stats, ItemType type)
     : base(stats)
 {
     mType = type;
 }
Beispiel #5
0
 public StatBase(AsyncStats stats)
 {
     mStats  = stats;
     mCounts = new int[100];
 }