mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-29 08:52:06 +00:00
more step toward wasm compilation, still not it
This commit is contained in:
@@ -41,8 +41,8 @@ namespace WAL
|
||||
{
|
||||
// TODO use an hashmap to cache results.
|
||||
const auto &dependency = system.getDependencies();
|
||||
return std::ranges::all_of(dependency.begin(), dependency.end(), [&entity](const auto &dependency) {
|
||||
return entity.hasComponent(dependency);
|
||||
});
|
||||
//return std::ranges::all_of(dependency.begin(), dependency.end(), [&entity](const auto &dependency) {
|
||||
// return entity.hasComponent(dependency);
|
||||
//});
|
||||
}
|
||||
} // namespace WAL
|
||||
Reference in New Issue
Block a user