]> code.bitgloo.com Git - clyne/entityx.git/commitdiff
Fix code example in README.md
authorSven-Hendrik Haase <sh@lutzhaase.com>
Sat, 13 Jun 2015 00:37:25 +0000 (02:37 +0200)
committerSven-Hendrik Haase <sh@lutzhaase.com>
Sat, 13 Jun 2015 00:37:25 +0000 (02:37 +0200)
README.md

index 2439e04844b636e8c596fa45f2594981501b1e16..dcca4ea76469f0015bd87d1ab791ce3066f6c8f9 100644 (file)
--- a/README.md
+++ b/README.md
@@ -88,9 +88,9 @@ Creating an entity is as simple as:
 ```c++
 #include <entityx/entityx.h>
 
-EntityX entityx;
+entityx::EntityX ex;
 
-entityx::Entity entity = entityx.entities.create();
+entityx::Entity entity = ex.entities.create();
 ```
 
 And destroying an entity is done with: