Struct tcod::map::Map
[−]
[src]
pub struct Map { /* fields omitted */ }
Methods
impl Map
[src]
fn new(width: i32, height: i32) -> Map
fn size(&self) -> (i32, i32)
fn set(&mut self, x: i32, y: i32, transparent: bool, walkable: bool)
fn compute_fov(&mut self,
origin_x: i32,
origin_y: i32,
max_radius: i32,
light_walls: bool,
algo: FovAlgorithm)
origin_x: i32,
origin_y: i32,
max_radius: i32,
light_walls: bool,
algo: FovAlgorithm)