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
31
32
33
34
35
36
37
38
39
40
41
42
43
//! # `BaseMap`
//!
//! `BaseMap` provides map traits required for path-finding and field-of-view operations. Implement these
//! if you want to use these features from `bracket-lib`.
//!
//! `is_opaque` specifies is you can see through a tile, required for field-of-view.
//!
//! `get_available_exits` lists the indices to which one can travel from a given tile, along with a relative
//! cost of each exit. Required for path-finding.
//!
//! `get_pathing_distance` allows you to implement your heuristic for determining remaining distance to a
//! target.
use SmallVec;
/// Implement this trait to support path-finding functions.