]> code.bitgloo.com Git - clyne/entityx.git/commitdiff
Minor readme updates.
authorLars Pensjö <lars.pensjo@gmail.com>
Wed, 27 Feb 2013 09:43:58 +0000 (10:43 +0100)
committerLars Pensjö <lars.pensjo@gmail.com>
Wed, 27 Feb 2013 09:43:58 +0000 (10:43 +0100)
Add link to define POD.
Refer to entity instead of component.

README.md

index 428adfe7f6c681fa9f0dd17a5235a02e5989f445..51f8307e0c528a0f2b398556732423ec0b51479c 100644 (file)
--- 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<T>`.
+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<T>`.
 
 #### 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> position;