diff options
author | Sven-Hendrik Haase <sh@lutzhaase.com> | 2015-06-13 02:37:25 +0200 |
---|---|---|
committer | Sven-Hendrik Haase <sh@lutzhaase.com> | 2015-06-13 02:37:25 +0200 |
commit | 276999de398aa91959bd5903d84c3cbc43b4ece7 (patch) | |
tree | f6b00847ff01e1f6d1bc7d985eb7add60b24a596 | |
parent | e5cf985e03c2741cfdeb0c504cc1b7b0a631d151 (diff) |
Fix code example in README.md
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |