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