GUI had old code when I was toying with doing lighting with a png.

This commit is contained in:
Zed A. Shaw 2024-12-02 08:15:27 -05:00
parent c11384df59
commit bdfd61c8e7
3 changed files with 0 additions and 9 deletions

View file

@ -32,7 +32,6 @@ using namespace ftxui;
using namespace components;
GUI::GUI(DinkyECS::World &world, Map& game_map) :
$darkness({1600,800}),
$game_map(game_map),
$log({{"Welcome to the game!"}}),
$status_ui(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT),
@ -49,9 +48,6 @@ GUI::GUI(DinkyECS::World &world, Map& game_map) :
$sounds.load("combat_enemy_hit", "combat_enemy_hit.mp3");
$sounds.load("combat_miss", "combat_miss.mp3");
$light_test.loadFromFile("./assets/light_test.png");
$darkness.setTexture(&$light_test);
resize_map(MAX_FONT_SIZE);
}