Ver código fonte

fixed example code

Michele Caini 8 anos atrás
pai
commit
21380aacb8
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -54,6 +54,8 @@ int main() {
         auto &velocity = ecs.get<Velocity>(entity);
         auto &velocity = ecs.get<Velocity>(entity);
         // ...
         // ...
     }
     }
+
+    ecs.reset();
 }
 }
 ```
 ```