From: Sven-Hendrik Haase Date: Sat, 13 Jun 2015 00:37:25 +0000 (+0200) Subject: Fix code example in README.md X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=276999de398aa91959bd5903d84c3cbc43b4ece7;p=clyne%2Fentityx.git Fix code example in README.md --- diff --git a/README.md b/README.md index 2439e04..dcca4ea 100644 --- a/README.md +++ b/README.md @@ -88,9 +88,9 @@ Creating an entity is as simple as: ```c++ #include -EntityX entityx; +entityx::EntityX ex; -entityx::Entity entity = entityx.entities.create(); +entityx::Entity entity = ex.entities.create(); ``` And destroying an entity is done with: