starting on config files

This commit is contained in:
Llywelwyn 2023-08-23 00:58:01 +01:00
parent 98a4422b15
commit 281396f9ce
11 changed files with 23 additions and 22 deletions

4
src/config/entity.rs Normal file
View file

@ -0,0 +1,4 @@
pub const DEFAULT_VIEWSHED_STANDARD: i32 = 16; // Standard viewshed radius for almost all entities.
pub const NORMAL_SPEED: i32 = 12; // Normal speed for almost all entities.
pub const TURN_COST_MULTIPLIER: i32 = 4; // How many ticks per turn for an entity with NORMAL_SPEED.

1
src/config/mod.rs Normal file
View file

@ -0,0 +1 @@
pub mod entity;