fireblade-engine / ecs

A dependency free, lightweight, fast Entity-Component System (ECS) implementation in Swift
MIT License
110 stars 11 forks source link

Bugfix/Issue #36: ComponentAdded event #37

Closed ctreffs closed 3 years ago

ctreffs commented 3 years ago

This PR fixed issue #36 where the ComponentAdded event was not emitted when assigning multiple components to an entity. Furthermore it removes the unused events ChildAdded and ChildRemoved

codecov[bot] commented 3 years ago

Codecov Report

Merging #37 (c0dae11) into master (78f690c) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
+ Coverage   98.08%   98.09%   +0.01%     
==========================================
  Files          30       30              
  Lines        1359     1368       +9     
==========================================
+ Hits         1333     1342       +9     
  Misses         26       26