Retrieves a map area from area coordinates.
[C#] In C#, this property is the indexer for the MapEngine class.
[Visual Basic] Public Default Property ReadOnly Item( _ ByVal x As Integer, _ ByVal y As Integer _ ) As MapArea [C#] public MapArea this[ int x, int y ] { get; } [C++] public: __property MapArea* get_Item( int x, int y ); [JScript] returnValue = MapEngineObject.Item( x, y ); -or- returnValue = MapEngineObject( x, y );
[JScript] In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.
MapEngine Class | croemud.map Namespace | MapEngine.Item Overload List