forked from Elfocrash/L2dotNET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathZoneForm.cs
More file actions
30 lines (26 loc) · 712 Bytes
/
Copy pathZoneForm.cs
File metadata and controls
30 lines (26 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
namespace L2dotNET.Models.Zones.forms
{
public class ZoneForm
{
public virtual bool IsInsideZone(int x, int y, int z)
{
return false;
}
public virtual bool intersectsRectangle(int x1, int x2, int y1, int y2)
{
return false;
}
public virtual double getDistanceToZone(int x, int y)
{
return 0;
}
public virtual int getLowZ()
{
return 0;
} //Support for the ability to extract the z coordinates of zones.
public virtual int getHighZ()
{
return 0;
} //New fishing patch makes use of that to get the Z for the hook
}
}