Aw query5x5

From ActiveWiki
Jump to navigation Jump to search

Description

Queries property in a five by five sector area.

Callback

AW_CALLBACK_QUERY

Notes

aw_query_5x5 functions identically to aw_query except that it queries a five by five sector area instead of a three by three sector area. This allows the application to query a larger area (up to 200 meters in all directions) in a single call.

For a complete description of how to use aw_query_5x5, see aw_query and Property.

Example

 int		sequence[5][5];

 memset (sequence, 0, sizeof (sequence));
 aw_query_5x5 (0, 0, sequence);

See Also

aw_cell_next, aw_delete_all_objects, aw_object_add, aw_object_change, aw_object_delete, aw_object_load, aw_query, AW_EVENT_OBJECT_ADD, AW_EVENT_OBJECT_DELETE