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:
parent
e523aa8b02
commit
07e281d987
14 changed files with 76 additions and 217 deletions
20
boss/ui.hpp
Normal file
20
boss/ui.hpp
Normal 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();
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue