예제 #1
0
                public InternalMoveTimer(IdanCloud cloud)
                    : base(TimeSpan.Zero, TimeSpan.FromSeconds(0.5))
                {
                    m_Cloud = cloud;

                    Priority = TimerPriority.OneSecond;
                }
예제 #2
0
 protected override void OnTarget(Mobile from, object targeted)
 {
     if ((targeted is TeiravonMobile))
     {
         IdanCloud ic = new IdanCloud(( TeiravonMobile )targeted);
         ic.MoveToWorld((( TeiravonMobile )targeted).Location, (( TeiravonMobile )targeted).Map);
     }
     else
     {
         return;
     }
 }
예제 #3
0
 public InternalTimer(IdanCloud cloud)
     : base(TimeSpan.Zero, TimeSpan.FromSeconds(10.0))
 {
     m_Cloud  = cloud;
     Priority = TimerPriority.FiveSeconds;
 }