Have a basic understanding of what to do for the boss fight arena, but now want to start over fresh.

This commit is contained in:
Zed A. Shaw 2025-09-22 13:43:36 -04:00
parent e523aa8b02
commit 07e281d987
14 changed files with 76 additions and 217 deletions

27
boss/ui.cpp Normal file
View file

@ -0,0 +1,27 @@
#include "boss/ui.hpp"
namespace boss {
UI::UI(shared_ptr<World> world, Entity boss_id) {
(void)world;
(void)boss_id;
}
void UI::init() {
}
void UI::render(sf::RenderWindow& window) {
(void)window;
}
bool UI::mouse(float x, float y, guecs::Modifiers mods) {
(void)x;
(void)y;
(void)mods;
return false;
}
bool UI::boss_dead() {
return true;
}
}

20
boss/ui.hpp Normal file
View file

@ -0,0 +1,20 @@
#pragma once
#include "dinkyecs.hpp"
#include <memory>
#include <SFML/Graphics/RenderWindow.hpp>
#include <guecs/ui.hpp>
namespace boss {
using std::shared_ptr;
using namespace DinkyECS;
struct UI {
UI(shared_ptr<World> world, Entity boss_id);
void init();
void render(sf::RenderWindow& window);
bool mouse(float x, float y, guecs::Modifiers mods);
bool boss_dead();
};
}