Type Definition Coords2D
movingai
type Coords2D = (usize, usize);
Store coorinates in the (x,y) format.
impl Index<Coords2D> for MovingAiMap
type Output = char
The returned type after indexing.
fn index(&self, coords: Coords2D) -> &char
Performs the indexing (container[index]) operation.
container[index]