aboutsummaryrefslogtreecommitdiff
path: root/src/state.rs
diff options
context:
space:
mode:
authorGuillaume Pasquet <guillaume@bitimplosion.com>2021-05-20 21:58:47 +0100
committerGuillaume Pasquet <guillaume@bitimplosion.com>2021-05-20 21:58:47 +0100
commit221ab81a5259acf4d4a0d311a6315979788dc1bf (patch)
tree50b542a9db41c6b23bd011b9f61a3cd851892329 /src/state.rs
parent0e5687836fc71d3a087e27dac673ca050d99a195 (diff)
Simplify fog-of-war logic, add lighting.
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.rs b/src/state.rs
index 5e68d55..c035f89 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -2,7 +2,7 @@ use crate::entities::{Character, Entity};
use crate::tiling::{Tile, TileGrid, TileType};
use crate::world::{apply_movement, Dungeon, Generatable, Level, Movement};
-const PLAYER_SIGHT: usize = 3;
+const PLAYER_SIGHT: usize = 1;
pub struct State {
pub player: Character,