From: Lars Pensjö Date: Wed, 27 Feb 2013 09:43:58 +0000 (+0100) Subject: Minor readme updates. X-Git-Url: https://code.bitgloo.com/clyne/gamedev/commit/src/world.cpp/clyne/gamedev/commit/src/world.cpp/git?a=commitdiff_plain;h=bda99099cf02c89977a06251462fecbb6025bf19;p=clyne%2Fentityx.git Minor readme updates. Add link to define POD. Refer to entity instead of component. --- diff --git a/README.md b/README.md index 428adfe..51f8307 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Entity entity = entities.create(); ### Components (entity data) -Components are typically POD types containing self-contained sets of related data. Implementations are [curiously recurring template pattern](http://en.wikipedia.org/wiki/Curiously_recurring_template_pattern) (CRTP) subclasses of `Component`. +Components are typically [POD types](http://en.wikipedia.org/wiki/Plain_Old_Data_Structures) containing self-contained sets of related data. Implementations are [curiously recurring template pattern](http://en.wikipedia.org/wiki/Curiously_recurring_template_pattern) (CRTP) subclasses of `Component`. #### Creating components @@ -66,7 +66,7 @@ entity.assign(position); #### Querying entities and their components -To query all components with a set of components assigned use ``EntityManager::entities_with_components()``. This method will return only those entities that have *all* of the specified components associated with them, assigning each component pointer to the corresponding component instance: +To query all entities with a set of components assigned, use ``EntityManager::entities_with_components()``. This method will return only those entities that have *all* of the specified components associated with them, assigning each component pointer to the corresponding component instance: ```c++ boost::shared_ptr position;