Checks whether a point is in the rectangle region, with this position as center.
[Visual Basic] Public Function in_region( _ ByVal x As Integer, _ ByVal y As Integer, _ ByVal range As Integer _ ) As Boolean [C#] public bool in_region( int x, int y, int range ); [C++] public: bool in_region( int x, int y, int range ); [JScript] public function in_region( int x, int y, int range ): bool;
true if the point is inner, false otherwise.
Position Class | croemud.map Namespace