[]
Retrieves a reference to the foremost AlarmZone that lies under the specified client coordinates.
public AlarmZone AlarmZoneAtCoord(int XCoord, int YCoord)
Type | Name | Description |
---|---|---|
int | XCoord | The X client coordinate to test. |
int | YCoord | The Y client coordinate to test. |
Type | Description |
---|---|
AlarmZone | A reference to the AlarmZone that is foremost at the specified client coordinate. |
AlarmZones can overlap the same space in the plot area. If multiple AlarmZones lie under the specified point, this method returns a reference to the foremost AlarmZone (i.e. - on top). To obtain a list of all AlarmZones that lie under the specified coordinate, enumerate all AlarmZones in the collection and test each one using the AlarmZone.IsInsideZone method.