Exemple #1
0
 public PickTarget(Point3D store, bool first, Map map, BoundingBoxCallback callback) : base(-1, true, TargetFlags.None)
 {
     m_Store    = store;
     m_First    = first;
     m_Map      = map;
     m_Callback = callback;
 }
			public PickTarget( Point3D store, bool first, Map map, BoundingBoxCallback callback, object state ) : base( -1, true, TargetFlags.None )
			{
				m_Store = store;
				m_First = first;
				m_Map = map;
				m_Callback = callback;
				m_State = state;
			}
Exemple #3
0
		public void Begin( Mobile from, BoundingBoxCallback callback, object state )
		{
			from.SendMessage( "Target the first location of the bounding box." );

			PickTarget target = new PickTarget(callback, state);
			target.OnCancelled += new BoundingBoxExCancelled(OnTargetCancelled);
			from.Target = target;
		}
 public PickTarget(Point3D store, bool first, Map map, BoundingBoxCallback callback, object state) : base(-1, true, TargetFlags.None)
 {
     this.m_Store    = store;
     this.m_First    = first;
     this.m_Map      = map;
     this.m_Callback = callback;
     this.m_State    = state;
 }
Exemple #5
0
        public void Begin(Mobile from, BoundingBoxCallback callback, object state)
        {
            from.SendMessage("Target the first location of the bounding box.");

            PickTarget target = new PickTarget(callback, state);

            target.OnCancelled += OnTargetCancelled;
            from.Target         = target;
        }
 public static void Begin(Mobile from, BoundingBoxCallback callback, object state)
 {
     from.SendMessage("Target the first location of the bounding box.");
     from.Target = new PickTarget(callback, state);
 }
 public PickTarget(BoundingBoxCallback callback, object state)
     : this(Point3D.Zero, true, null, callback, state)
 {
 }
Exemple #8
0
 public PickTarget(BoundingBoxCallback callback) : this(Point3D.Zero, true, null, callback)
 {
 }
		public static void Begin( Mobile from, BoundingBoxCallback callback, object state )
		{
			from.SendMessage( "Target the first location of the bounding box." );
			from.Target = new PickTarget( callback, state );
		}
			public PickTarget( BoundingBoxCallback callback, object state ) : this( Point3D.Zero, true, null, callback, state )
			{
			}
 public static void Begin( Mobile from, BoundingBoxCallback callback, object state )
 {
     from.SendMessage( "Clique na primeira posicao para formar o retangulo (2 cliques, igual selecao na area de trabalho do windows)." );
     from.Target = new PickTarget( callback, state );
 }
 public static void Begin(Mobile from, BoundingBoxCallback callback, object state)
 {
     from.SendMessage("Clique na primeira posicao para formar o retangulo (2 cliques, igual selecao na area de trabalho do windows).");
     from.Target = new PickTarget(callback, state);
 }