I need a way to ask if a cell exists for more dynamic layouts.
This commit is contained in:
parent
aff0fb839c
commit
25e3935170
3 changed files with 6 additions and 1 deletions
|
|
@ -68,6 +68,7 @@ namespace guecs {
|
|||
sf::Vector2f get_size();
|
||||
void layout(const string& grid);
|
||||
Entity init_entity(const string& name);
|
||||
bool contains(const string& name);
|
||||
Entity entity(const string& name);
|
||||
Entity entity(const string& name, int id);
|
||||
const std::string& name_for(Entity gui_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue