Exemplo n.º 1
0
            public DecayTimer(BaseShip boat)
                : base(TimeSpan.FromSeconds(1.0), TimeSpan.FromSeconds(5.0))
            {
                m_Boat = boat;

                Priority = TimerPriority.TwoFiftyMS;
            }
Exemplo n.º 2
0
            public OfficerTarget(bool add, BaseShip ship)
                : base(12, false, TargetFlags.None)
            {
                CheckLOS = false;

                m_Ship = ship;
                m_Add  = add;
            }
        public ConfirmDryDockGump(Mobile from, BaseShip ship) : base(150, 200)
        {
            m_From = from;
            m_Ship = ship;

            m_From.CloseGump(typeof(ConfirmDryDockGump));

            AddPage(0);

            AddBackground(0, 0, 220, 170, 5054);
            AddBackground(10, 10, 200, 150, 3000);

            AddHtmlLocalized(20, 20, 180, 80, 1018319, true, false);               // Do you wish to dry dock this ship?

            AddHtmlLocalized(55, 100, 140, 25, 1011011, false, false);             // CONTINUE
            AddButton(20, 100, 4005, 4007, 2, GumpButtonType.Reply, 0);

            AddHtmlLocalized(55, 125, 140, 25, 1011012, false, false);               // CANCEL
            AddButton(20, 125, 4005, 4007, 1, GumpButtonType.Reply, 0);
        }
Exemplo n.º 4
0
 public NewRenameBoatPrompt(BaseShip boat)
 {
     _boat = boat;
 }