Cronous Emulation Server Daemon

Position.in_region Method 

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;

Parameters

x
X.
y
Y.
range
Range to check.

Return Value

true if the point is inner, false otherwise.

See Also

Position Class | croemud.map Namespace