fov
This commit is contained in:
@@ -8,6 +8,8 @@ pub mod colors;
|
||||
pub mod cp437;
|
||||
/// Procedural floor generators ([`floor::FloorGenerator`]).
|
||||
pub mod floor;
|
||||
/// Field-of-view computation for dark boards ([`fov::Visibility`]).
|
||||
pub mod fov;
|
||||
/// Core game types: [`board::Board`], [`glyph::Glyph`], [`archetype::Archetype`], etc.
|
||||
pub mod game;
|
||||
pub mod glyph;
|
||||
@@ -26,6 +28,7 @@ pub mod player;
|
||||
pub mod keys;
|
||||
pub use archetype::{Archetype, Builtin};
|
||||
pub use board::Board;
|
||||
pub use fov::{SIGHT_RADIUS, Visibility};
|
||||
pub use utils::Direction;
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in New Issue
Block a user