Server.Items.MoongateConfirmGump.MoongateConfirmGump C# (CSharp) Method

MoongateConfirmGump() public method

public MoongateConfirmGump ( Mobile from, Moongate gate ) : System
from Mobile
gate Moongate
return System
		public MoongateConfirmGump( Mobile from, Moongate gate ) : base( 20, 30 )
		{
			m_From = from;
			m_Gate = gate;

			AddPage( 0 );

			AddBackground( 0, 0, 420, 400, 5054 );
			AddBackground( 10, 10, 400, 380, 3000 );

			AddHtml( 20, 40, 380, 60, @"Dost thou wish to step into the moongate? Continue to enter the gate, Cancel to stay here", false, false );

			AddHtmlLocalized( 55, 110, 290, 20, 1011012, false, false ); // CANCEL
			AddButton( 20, 110, 4005, 4007, 0, GumpButtonType.Reply, 0 );

			AddHtmlLocalized( 55, 140, 290, 40, 1011011, false, false ); // CONTINUE
			AddButton( 20, 140, 4005, 4007, 1, GumpButtonType.Reply, 0 );
		}