Refactor the light calculations to be part of map instead of spread out all over. Still need to bring back lighting on walls and also pathing for enemies is currently busted.

This commit is contained in:
Zed A. Shaw 2024-11-28 02:41:01 -05:00
parent 0e8a2e520a
commit 54fa1a23ce
7 changed files with 168 additions and 112 deletions

View file

@ -48,8 +48,4 @@ namespace components {
struct EnemyConfig {
int HEARING_DISTANCE;
};
struct LightSource {
int strength = 100;
};
}