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:
parent
0e8a2e520a
commit
54fa1a23ce
7 changed files with 168 additions and 112 deletions
|
@ -48,8 +48,4 @@ namespace components {
|
|||
struct EnemyConfig {
|
||||
int HEARING_DISTANCE;
|
||||
};
|
||||
|
||||
struct LightSource {
|
||||
int strength = 100;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue