New debug_ui that shows perf data, other debug info, and allows spawning enemies.
This commit is contained in:
parent
4f090159ab
commit
07ce8a4148
12 changed files with 50 additions and 87 deletions
|
@ -142,8 +142,13 @@ namespace guecs {
|
|||
$world.set<Comp>(ent, val);
|
||||
}
|
||||
|
||||
lel::Cell& cell_for(DinkyECS::Entity entity) {
|
||||
return $world.get<lel::Cell>(entity);
|
||||
lel::Cell& cell_for(DinkyECS::Entity ent) {
|
||||
return $world.get<lel::Cell>(ent);
|
||||
}
|
||||
|
||||
lel::Cell& cell_for(std::string name) {
|
||||
DinkyECS::Entity ent = entity(name);
|
||||
return $world.get<lel::Cell>(ent);
|
||||
}
|
||||
|
||||
template <typename Comp>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue