There's a UISystem now for to compliment the entities and components in GUECS. I now use that to do the drag/drop transfers instead of raw code right in the FSM.
This commit is contained in:
parent
e01e697535
commit
4a48910273
11 changed files with 62 additions and 60 deletions
|
@ -23,10 +23,7 @@ namespace gui {
|
|||
void update();
|
||||
bool mouse(float x, float y, bool hover);
|
||||
|
||||
guecs::GrabSource& get_grab_source(DinkyECS::Entity entity);
|
||||
void remove_slot(DinkyECS::Entity slot_id);
|
||||
|
||||
guecs::DropTarget& get_drop_target(DinkyECS::Entity gui_id);
|
||||
bool place_slot(DinkyECS::Entity gui_id, DinkyECS::Entity world_entity);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue