예제 #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];
 }