Exemple #1
0
        public StatueGump(BaseStatueDeed deed, Mobile from, StatueMaterialGroups group, int material, Direction dir, StatuePoses pose, bool Plinth)
            : base(0, 0)
        {
            m_Deed = deed;
            m_Mobile = from;
            m_Group = group;
            m_Material = material;
            m_Direction = dir;
            m_Pose = pose;

            this.Closable=true;
			this.Disposable=true;
			this.Dragable=true;
			this.Resizable=false;
			this.AddPage(0);
			this.AddImage(4, 5, 39);
			this.AddLabel(90, 39, 0, @"Material");
			this.AddLabel(98, 91, 0, @"Pose");
			this.AddLabel(84, 141, 0, @"Direction");
			this.AddButton(34, 52, 4014, 4015, (int)Buttons.MaterialBack, GumpButtonType.Reply, 0);
			this.AddButton(34, 101, 4014, 4015, (int)Buttons.PoseBack, GumpButtonType.Reply, 0);
			this.AddButton(34, 153, 4014, 4015, (int)Buttons.DirectionBack, GumpButtonType.Reply, 0);
			this.AddButton(83, 244, 247, 248, (int)Buttons.Okay, GumpButtonType.Reply, 0);
			this.AddButton(189, 52, 4005, 4006, (int)Buttons.MaterialForward, GumpButtonType.Reply, 0);
			this.AddButton(189, 101, 4005, 4006, (int)Buttons.PoseForward, GumpButtonType.Reply, 0);
			this.AddButton(188, 157, 4005, 4006, (int)Buttons.DirectionForward, GumpButtonType.Reply, 0);
			this.AddLabel(75, 65, 37, BaseStatueDeed.GetMaterials(group)[m_Material].ToString());
			this.AddLabel(76, 113, 37, m_Pose.ToString());
			this.AddLabel(75, 168, 37, m_Direction.ToString());
			this.AddCheck(47, 203, 210, 211, Plinth, (int)Buttons.CheckBox1);
			this.AddLabel(78, 204, 0, @"Plinth");


        }
Exemple #2
0
 public PlaceStatueTarget(BaseStatueDeed deed, StatueMaterial material, StatuePoses pose, Direction dir, bool plinth)
     : base(15, true, TargetFlags.None)
 {
     m_deed = deed;
     m_Material = material;
     m_Pose = pose;
     m_Dir = dir;
     m_Plinth = plinth;
 }