コード例 #1
0
 public void RefreshTimer( TimeSpan newDuration )
 {
     m_DecayTimer.Stop();
     m_DecayTimer = new BonusTimer( newDuration, this );
     m_DecayTimer.Start();
 }
コード例 #2
0
 public BonusTableEntry( double bonus, TimeSpan decay, Mobile mob, bool fightingstyle )
 {
     m_Bonus = bonus;
     m_Mobile = mob;
     m_FightingStyle = fightingstyle;
     m_DecayTimer = new BonusTimer( decay, this );
     m_DecayTimer.Start();
 }