public RuneBowChargeGump(RuneBow bow) : base(0, 0) { m_RuneBow = bow; Closable = true; Disposable = true; Dragable = true; Resizable = false; AddPage(0); AddBackground(0, 0, 160, 90, 9270); AddImage(30, 40, 9750); AddLabel(15, 15, 1191, "Rune Bow Charge"); AddLabel(45, 55, 1191, "Fire:"); AddButton(85, 55, 9903, 9904, 1 /*Button*/, GumpButtonType.Reply, 0); if (bow != null && bow.Charge > 10) { AddImageTiled(30, 40, bow.Charge - 5, 7, 9751); } }
public RuneBowChargeGump( RuneBow bow ) : base( 0, 0 ) { m_RuneBow = bow; Closable = true; Disposable = true; Dragable = true; Resizable = false; AddPage( 0 ); AddBackground( 0, 0, 160, 90, 9270 ); AddImage( 30, 40, 9750 ); AddLabel( 15, 15, 1191, "Rune Bow Charge" ); AddLabel( 45, 55, 1191, "Fire:" ); AddButton( 85, 55, 9903, 9904, 1 /*Button*/, GumpButtonType.Reply, 0 ); if ( bow != null && bow.Charge > 10 ) { AddImageTiled( 30, 40, bow.Charge - 5, 7, 9751 ); } }
public RuneBowChargeTimer(RuneBow bow) : base(TimeSpan.FromSeconds(2), TimeSpan.FromSeconds(2)) { m_RuneBow = bow; }
public RuneBowChargeTimer( RuneBow bow ) : base( TimeSpan.FromSeconds( 2 ), TimeSpan.FromSeconds( 2 ) ) { m_RuneBow = bow; }