コード例 #1
0
 //Line Below This: (TimeSpan.FromSeconds (this is where u adjust how long it takes till the egg drops)
 public InternalTimer(Mobile p) : base(TimeSpan.FromSeconds(1.0), TimeSpan.FromSeconds(1800.0))              //time 1.0 - 1800.0 meens will drop evey 1/2 hour
 {
     Priority = TimerPriority.FiftyMS;
     Mare     = ((ChickenEggLayer)p);
 }
コード例 #2
0
			//Line Below This: (TimeSpan.FromSeconds (this is where u adjust how long it takes till the egg drops)
			public InternalTimer(Mobile p): base( TimeSpan.FromSeconds( 1.0), TimeSpan.FromSeconds( 1800.0))//time 1.0 - 1800.0 meens will drop evey 1/2 hour
		{
			Priority = TimerPriority.FiftyMS;
			Mare = ((ChickenEggLayer) p);
		}