From bda99099cf02c89977a06251462fecbb6025bf19 Mon Sep 17 00:00:00 2001 From: Lars Pensjö Date: Wed, 27 Feb 2013 10:43:58 +0100 Subject: Minor readme updates. Add link to define POD. Refer to entity instead of component. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- cgit v1.2.3