Esempio n. 1
0
 public InternalTimer(Mobile mob, MusicSheet sheet, int startpage) : base(TimeSpan.FromSeconds(0.5), TimeSpan.FromMilliseconds(60000.0 / sheet.BeatPerMinute))
 {
     Priority = TimerPriority.TenMS;
     m_Sheet  = sheet;
     m_Page   = startpage;
     m_Column = 0;
     m_Repeat = sheet.Repeat;
     m_Mobile = mob;
     if (m_Sheet != null)
     {
         if (m_Sheet.m_Instrument != null)
         {
             if (m_Sheet.m_Instrument is Harp)
             {
                 m_Mus = 0x497 - 1;
             }
             else if (m_Sheet.m_Instrument is LapHarp)
             {
                 m_Mus = 0x3CA - 1;
             }
             else
             {
                 Stop();
             }
         }
     }
 }
Esempio n. 2
0
 //the starter gump
 public MusicComposer(Mobile m, MusicSheet sheet, int page) : base(0, 0)
 {
     if (page > sheet.Pages.Count || sheet.Instrument == null)
     {
         return;
     }
     m_Mobile        = m;
     this.Closable   = true;
     this.Disposable = true;
     this.Dragable   = true;
     m_MusicSheet    = sheet;
     m_Page          = page;
     PreGump();
 }
Esempio n. 3
0
 public Compositore(Mobile m, MusicSheet sheet) : base(2132)
 {
     m_Mobile = m;
     m_Sheet  = sheet;
 }
Esempio n. 4
0
 public RenameSheetPrompt(MusicSheet sheet, Mobile from)
 {
     m_Sheet = sheet;
     m_From  = from;
     m_From.SendMessage("Select the name of the composition");
 }
Esempio n. 5
0
 public NominaBrano(Mobile m, MusicSheet sheet) : base(75)
 {
     m_Mobile = m;
     m_Sheet  = sheet;
 }
Esempio n. 6
0
 public InternalTarget(Mobile from, MusicSheet sheet) : base(1, false, TargetFlags.None)
 {
     m_Mobile = from;
     m_Sheet  = sheet;
 }