Commit Graph

311 Commits

Author SHA1 Message Date
Christian Treffs cae5c71af9
Lint fix 2024-10-21 13:54:11 +02:00
Christian Treffs 699233a707
Fix warning 2024-10-21 13:50:18 +02:00
Christian Treffs e02bf4f8b8
Merge branch 'master' into feature/serialization
# Conflicts:
#	Tests/FirebladeECSTests/XCTestManifests.swift
2024-10-21 13:48:25 +02:00
Christian Treffs 11f46f354d
Raise minimum Swift version to 5.8 (#67)
* Raise Swift tools version to 5.8

* Update README

* Add Swift version file

* Format code for 5.8

* Update swiftformat config
2024-10-09 20:52:56 +02:00
Christian Treffs 2c1c5885ae
Modernize project (#66)
* Add Mintfile

* Update Makefile

* Use old swiftlint and swiftformat versions

* Lint

* Update SwiftLint and SwiftFormat Versions + Lint

* Re-add documented make rules

* Update sourcery to 2.2.5

* Update SwiftLint and Lint
2024-10-09 17:08:12 +02:00
Christian Treffs fd57037a6d
Rename @_functionBuilder to @resultBuilder for Swift 5.4+ (#44)
* Rename @_functionBuilder to @resultBuilder for Swift 5.4+

* Pin codecov version
2021-07-16 07:55:39 +02:00
Christian Treffs df999947b1
Merge branch 'master' into feature/serialization 2020-11-25 11:28:01 +01:00
Christian Treffs c0dae11e23
Fix bulk entity creation with component builder 2020-11-25 11:16:53 +01:00
Christian Treffs e3d416a3e2
Fix ComponentAdded event emission for multi-component assigns (gh issue #36) 2020-11-25 11:08:08 +01:00
Christian Treffs f8915f1080
Remove unused events 2020-11-25 11:06:50 +01:00
Christian Treffs dadfeb86b1
Refine Nexus serialization 2020-10-21 08:16:26 +02:00
Christian Treffs 168e1a8598
Refine Version 2020-10-21 08:15:44 +02:00
Christian Treffs 40d09a9c3b
Conform CodingStrategy and EntityIdentifierGenerator to Codable 2020-10-21 08:15:15 +02:00
Christian Treffs 2333282fd4
Fix compile issue 2020-10-21 07:33:38 +02:00
Christian Treffs c88fe2c419
Merge branch 'develop' into feature/serialization 2020-10-21 07:32:06 +02:00
Christian Treffs 0d66a30544
Refine component assignment accessors 2020-10-20 14:39:50 +02:00
Christian Treffs 788c6f75ea
Add entity creation convenience to Entity 2020-10-20 14:39:15 +02:00
Christian Treffs c4d48202be
Remove allComponents() and refine ComponentsIterator 2020-10-20 14:38:47 +02:00
Christian Treffs a8c0d94e44
Make entity value getter and setter optional compatible 2020-10-20 14:38:18 +02:00
Christian Treffs 8821648d7f
Refine component getter and setter 2020-10-19 17:33:53 +02:00
Christian Treffs bcf934ff7e
Add value getter and setter to entity 2020-10-19 17:12:45 +02:00
Christian Treffs 65b0644b5c
Conform all iterators to LazySequenceProtocol and Sequence 2020-10-19 16:08:44 +02:00
Christian Treffs b3db653404
Conform ComponentsIterator to Sequence 2020-10-15 22:11:02 +02:00
Christian Treffs a0d3f443f7
Make EntitiesIterator available 2020-10-15 22:10:43 +02:00
Christian Treffs 6779af105e
Add EntitiesIterator 2020-10-15 22:10:21 +02:00
Christian Treffs 995ff5a825
Merge branch 'develop' into feature/serialization 2020-10-08 10:40:32 +02:00
Christian Treffs f632dc4d50
Lint 2020-10-08 10:31:11 +02:00
Igor Kravchenko 1c2bb78dc4 add changes proposed during code review 2020-10-08 01:45:10 +03:00
Igor Kravchenko 2902b096a5 add generic component type to DynamicComponentProvider 2020-10-03 23:48:26 +03:00
Igor Kravchenko 76c91d83f7 add methods to EntityState to improve ergonomics 2020-10-03 23:29:27 +03:00
Igor Kravchenko 39692bbfc2 autoupdate manifest 2020-10-03 01:12:18 +03:00
Igor Kravchenko 1c8c063e01 add test for EntityStateMachine could be deallocated 2020-10-02 13:17:31 +03:00
Igor Kravchenko 1aae190fc1 update changeState 2020-10-01 20:25:49 +03:00
Igor Kravchenko c222234adc replaces fatalError with assertionFailure in 'changeState' 2020-10-01 12:47:21 +03:00
Igor Kravchenko 65fedb737e add tests for EntityState.get 2020-10-01 10:26:33 +03:00
Igor Kravchenko c6a2bb7740 adds missing registration of provider in StateComponentMapping init 2020-09-30 17:37:53 +03:00
Igor Kravchenko 53d2c27082 address linter warnings 2020-09-30 16:11:35 +03:00
Igor Kravchenko 386350ab1f add documentation for EntityStateMachine 2020-09-30 12:09:08 +03:00
Igor Kravchenko 121f8d55b0 add documentation for StateComponentMapping 2020-09-30 11:05:10 +03:00
Igor Kravchenko 7f675db01d add documentation for component providers 2020-09-29 20:01:20 +03:00
Igor Kravchenko 81e18ba443 adds StateName generic to EntityStateMachine 2020-09-29 12:19:47 +03:00
Igor Kravchenko 08e20d1656 add EntityStateMachineTests 2020-09-29 12:11:43 +03:00
Igor Kravchenko 4f42a69d82 add EntityStateTests 2020-09-28 23:35:57 +03:00
Igor Kravchenko a17fbea014 add EntityStateMachine 2020-09-28 00:33:20 +03:00
Igor Kravchenko acc2a0feff Add initial implementation of component providers for entity FSM 2020-09-17 20:17:52 +03:00
Christian Treffs 6b128a9923
Merge branch 'develop' into feature/serialization 2020-08-22 09:35:30 +02:00
Christian Treffs dd16ccce6b
Increase coverage + cleanups 2020-08-22 09:02:21 +02:00
Christian Treffs 64aea76a8e
Update to new storage 2020-08-21 16:37:40 +02:00
Christian Treffs 5a33f1d19c
Merge branch 'develop' into feature/serialization 2020-08-21 16:35:16 +02:00
Christian Treffs d2cc6c1115
Remove unused entity storage 2020-08-21 16:28:30 +02:00