Lighting system now works and does illumination for the whole map plus entities, but not walls or multiple lights yet.

This commit is contained in:
Zed A. Shaw 2024-11-26 02:22:15 -05:00
parent 62f986719d
commit 4ceacecfda
5 changed files with 49 additions and 25 deletions

View file

@ -227,6 +227,7 @@ void GUI::run_systems() {
auto player = $world.get_the<Player>();
System::motion($world, $game_map);
System::enemy_pathing($world, $game_map, player);
System::lighting($world, $game_map, player);
System::collision($world, player);
System::death($world);
}