Server.Targeting.LandTarget.LandTarget C# (CSharp) Méthode

LandTarget() public méthode

public LandTarget ( Point3D location, Map map )
location Point3D
map Map
		public LandTarget( Point3D location, Map map )
		{
			m_Location = location;

			if ( map != null )
			{
				m_Location.Z = map.GetAverageZ( m_Location.X, m_Location.Y );
				m_TileID = map.Tiles.GetLandTile( m_Location.X, m_Location.Y ).ID & TileData.MaxLandValue;
			}
		}
LandTarget