Example #1
0
 public MyTimer(BaseMiningRocks rocks)
     : base(TimeSpan.FromSeconds(Utilities.RespawnSeconds(rocks.OreType)))
 {
     mRocks     = rocks;
     mRocks.Hue = Utilities.Hue(mRocks.OreType);
     mRocks.InvalidateProperties();
 }
Example #2
0
 public MyTimer(BaseMiningRocks rocks)
     : base(TimeSpan.FromSeconds(Utilities.RespawnSeconds(rocks.OreType)))
 {
     mRocks = rocks;
     mRocks.Hue = Utilities.Hue(mRocks.OreType);
     mRocks.InvalidateProperties();
 }
Example #3
0
 public InternalTimer(Mobile from, BaseMiningRocks miningRocks, RunescapePickaxe pickaxe)
     : base(TimeSpan.FromSeconds(0), TimeSpan.FromSeconds(2), 30)
 {
     player     = from;
     rocks      = miningRocks;
     pick       = pickaxe;
     successful = false;
     count      = 0;
 }
Example #4
0
 public InternalTimer(Mobile from, BaseMiningRocks miningRocks, RunescapePickaxe pickaxe)
     : base(TimeSpan.FromSeconds(0), TimeSpan.FromSeconds(2), 30)
 {
     player = from;
     rocks = miningRocks;
     pick = pickaxe;
     successful = false;
     count = 0;
 }