예제 #1
0
        public WarmUpTimer(Mobile from, PianoKeys piano) : base(TimeSpan.FromSeconds(1.0), TimeSpan.FromSeconds(1.0))
        {
            m_From   = from;
            m_Piano  = piano;
            Priority = TimerPriority.TwoFiftyMS;

            keys = 0;
        }
예제 #2
0
 public PianoTimer(Mobile from, PianoKeys piano) : base(TimeSpan.FromSeconds(0.5), TimeSpan.FromSeconds(3.0))
 {
     m_From   = from;
     m_Piano  = piano;
     Priority = TimerPriority.TwoFiftyMS;
 }
예제 #3
0
		public PianoTimer( Mobile from, PianoKeys piano ) : base( TimeSpan.FromSeconds( 0.5 ), TimeSpan.FromSeconds( 3.0 ) )
		{
			m_From = from;
			m_Piano = piano;
			Priority = TimerPriority.TwoFiftyMS;
		}
예제 #4
0
		public WarmUpTimer( Mobile from, PianoKeys piano ) : base( TimeSpan.FromSeconds( 1.0 ), TimeSpan.FromSeconds( 1.0 ) )
		{
			m_From = from;
			m_Piano = piano;
			Priority = TimerPriority.TwoFiftyMS;

			keys = 0;
		}