Update README.md

This commit is contained in:
Michele Caini
2017-07-03 09:11:52 +02:00
committed by GitHub
parent 29e6c29236
commit 045c42301e
+1 -1
View File
@@ -77,7 +77,7 @@ int main() {
std::cout << "filtered component view" << std::endl;
for(auto entity: ecs.view<Position>().exclude<Velocity>()) {
std::cout << (registry.has<Position>(entity)) << "/" << (registry.has<Velocity>(entity)) << std::endl;
std::cout << (ecs.has<Position>(entity)) << "/" << (ecs.has<Velocity>(entity)) << std::endl;
}
ecs.reset();