Small error in how mouse events are processed. I need to do them _outside_ of the guecs::UI so that the event is checked once and then confirmed in all grids. Then created a tombstone device to be used as a dead enemy marker that will later allow looting.
This commit is contained in:
parent
6447f86954
commit
e04c03b381
8 changed files with 37 additions and 17 deletions
|
@ -131,7 +131,7 @@ namespace guecs {
|
|||
|
||||
void init(TexturePack& textures);
|
||||
void render(sf::RenderWindow& window);
|
||||
void mouse(sf::RenderWindow &window);
|
||||
void mouse(float x, float y);
|
||||
};
|
||||
|
||||
Clickable make_action(DinkyECS::World& target, Events::GUI event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue