summaryrefslogtreecommitdiffhomepage
path: root/CHANGELOG.mdown
diff options
context:
space:
mode:
Diffstat (limited to 'CHANGELOG.mdown')
-rw-r--r--CHANGELOG.mdown28
1 files changed, 28 insertions, 0 deletions
diff --git a/CHANGELOG.mdown b/CHANGELOG.mdown
index 6f0b570..e4e0e9d 100644
--- a/CHANGELOG.mdown
+++ b/CHANGELOG.mdown
@@ -8,6 +8,34 @@
![Deprecated](https://img.shields.io/badge/-Deprecated-orange)
![Removed](https://img.shields.io/badge/-Removed-red)
+## [2.0.0](https://github.com/realtradam/FelFlame/releases/tag/2.0.0) - 2021-07-10
+![Changed](https://img.shields.io/badge/-Changed-yellow)
+- Entities and Components now reference each other using the objects themselves rather then their id's
+```ruby
+# before:
[email protected][@component_manager].each do |component_id|
+ # iterate over id's, usually would need to do a lookup to get the component itself
+end
+
+# after:
[email protected][@component_manager].each do |component|
+ # iterate over the components themselves! No need for lookup anymore
+end
+```
+```ruby
+# same for components referencing entities
+# before:
[email protected] do |entity_id|
+ #iterate over id's
+end
+
+# after:
[email protected] do |entity|
+ # directly iterate over entities themselves!
+end
+```
+
+
## [1.0.2](https://github.com/realtradam/FelFlame/releases/tag/1.0.2) - 2021-07-09
![Fixed](https://img.shields.io/badge/-Fixed-blue)
- Stripped superflous files shrinking gem size significantly