diff options
| author | _Tradam <[email protected]> | 2022-01-03 08:47:21 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-03 08:47:21 -0500 |
| commit | 395a23c806091f51e85abaf5a6251db19dca995d (patch) | |
| tree | e9f4a637a7036bff49afdcba562bb2b66bceffac | |
| parent | f1d7db3a9d39e8f81649f1b813df4826de850e16 (diff) | |
| download | FelECS-395a23c806091f51e85abaf5a6251db19dca995d.tar.gz FelECS-395a23c806091f51e85abaf5a6251db19dca995d.zip | |
Fixed formatting
| -rw-r--r-- | CHANGELOG.mdown | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/CHANGELOG.mdown b/CHANGELOG.mdown index 454c4b8..7488836 100644 --- a/CHANGELOG.mdown +++ b/CHANGELOG.mdown @@ -20,54 +20,54 @@ - Various arrays are automatically compacted  - - Classes and Modules which used a data array now have the entire set of array methods available to their respective Classes and Modules +- Classes and Modules which used a data array now have the entire set of array methods available to their respective Classes and Modules - Convenience methods for accessing a single entity in a component(`@component.entity`) and accessing a single entity in a component(`@entity.component[@component_manager]`) - - `FelFlame::Order` class which can set the order if your Scenes and Systems +- `FelFlame::Order` class which can set the order of your Scenes and Systems -  - - Replaced all instances of `sort_by!` with `sort_by` for compatibility with mruby - - Minor optimizations such as less array duplication + +- Replaced all instances of `sort_by!` with `sort_by` for compatibility with mruby +- Minor optimizations such as less array duplication ## [3.0.0](https://github.com/realtradam/FelFlame/releases/tag/3.0.0) - 2021-07-12 -  - - The Scene alias was changed from ```FelFlame::Sce``` to ```FelFlame::Scn``` as it is more intuitive + +- The Scene alias was changed from ```FelFlame::Sce``` to ```FelFlame::Scn``` as it is more intuitive. ## [2.0.0](https://github.com/realtradam/FelFlame/releases/tag/2.0.0) - 2021-07-10 -  - - Entities and Components now reference each other using the objects themselves rather then their id's - ```ruby + +- Entities and Components now reference each other using the objects themselves rather then their id's +```ruby # before: - @entity.components[@component_manager].each do |component_id| -# iterate over id's, usually would need to do a lookup to get the component itself - end [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: - @entity.components[@component_manager].each do |component| -# iterate over the components themselves! No need for lookup anymore - end - ``` - ```ruby [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: - @component.entities.each do |entity_id| -#iterate over id's - end [email protected] do |entity_id| + #iterate over id's +end # after: - @component.entities.each do |entity| -# directly iterate over entities themselves! - end - ``` - [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 -  - - Stripped superflous files shrinking gem size significantly + +- Stripped superflous files shrinking gem size significantly ## [1.0.1](https://github.com/realtradam/FelFlame/releases/tag/1.0.1) - 2021-07-09 -  - - Defining attributes in components are no longer allowed to overwrite methods + +- Defining attributes in components are no longer allowed to overwrite methods ## [1.0.0](https://github.com/realtradam/FelFlame/releases/tag/1.0.0) - 2021-07-09 -  - - Initial release + +- Initial release |
