From 1980168196172332049b313dedffab46bb1f3ae3 Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Sun, 10 Mar 2013 13:29:43 -0400 Subject: README formatting. --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 924fe1f..4565677 100644 --- a/README.md +++ b/README.md @@ -39,10 +39,14 @@ Test if it is valid with `entity.exists()`. ### Components (entity data) -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`. -The idea with ECS is to not have any functionality in the component. -Components must provide a no-argument constructor. -The current implementation can handle up to 64 components in total. +The idea with ECS is to not have any functionality in the component. All logic should be contained in Systems. + +To that end 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`. + +Implementation notes: + +- Components must provide a no-argument constructor. +- The current implementation can handle up to 64 components in total. #### Creating components -- cgit v1.2.3