diff options
author | Guillaume Pasquet <dev@etenil.net> | 2019-11-24 11:31:55 +0000 |
---|---|---|
committer | Guillaume Pasquet <dev@etenil.net> | 2019-11-24 11:31:55 +0000 |
commit | 4032fc8200980025b015c5f798de87a5918b798b (patch) | |
tree | 692544c2ca52009be18fd79e95a1e33646288c68 /src/state.rs | |
parent | f14e0005f082b5d4cbca0f2e0d501ad15da3c856 (diff) |
Line of sight work
Diffstat (limited to 'src/state.rs')
-rw-r--r-- | src/state.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.rs b/src/state.rs index be32228..8561486 100644 --- a/src/state.rs +++ b/src/state.rs @@ -6,7 +6,7 @@ use crate::entities::{Character, Entity, Player}; use crate::tiling::{tile_to_str, Tile, TileGrid, TileType}; use crate::world::{apply_movement, Dungeon, Generatable, Level, Movement}; -const PLAYER_SIGHT: usize = 5; +const PLAYER_SIGHT: usize = 3; pub struct State { pub player: Character, |