From: Alec Thomas Date: Sun, 10 Mar 2013 17:29:43 +0000 (-0400) Subject: README formatting. X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=1980168196172332049b313dedffab46bb1f3ae3;p=clyne%2Fentityx.git README formatting. --- 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