Joseph Heck
fdf08687d6
DocC documentation generation ( #77 )
...
* initial stub files to support DocC generation
* add dependency on docc-plugin to support local previewing of documentation
* adding preview documentation commands to view documentation
* adding documentation generation commands
* cleanup with precommit
* update to reference expected location, or how to preview
* cleaning up documentation for global hashing algorithms
* adding documentation for ManagedContiguousArray
* adding documentation for UnorderedSparseSet
* directly porting README getting started into an Essentials article
2024-11-01 06:52:41 +01: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
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
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
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
dd16ccce6b
Increase coverage + cleanups
2020-08-22 09:02:21 +02:00
Christian Treffs
d2cc6c1115
Remove unused entity storage
2020-08-21 16:28:30 +02:00
Christian Treffs
37618d5b4f
Refine ComponentIdentifier
2020-08-21 16:27:35 +02:00
Christian Treffs
9358319892
Document + typealias
2020-08-21 12:04:50 +02:00
Christian Treffs
432a820ac0
Drop MutableCollection conformance requirement
2020-08-21 11:54:02 +02:00
Christian Treffs
bb02f301c8
Fix entity id default generation + add tests
2020-08-21 11:46:48 +02:00
Christian Treffs
fcf5f4eaf3
Refine entity identifier generator
2020-08-21 10:54:48 +02:00
Christian Treffs
af81c88a51
Use Identifier in EntityId generator
2020-08-21 10:00:13 +02:00
Christian Treffs
f3cfe64b7d
Refine entity identifier
2020-08-21 08:26:15 +02:00
Christian Treffs
e770a53a87
Re-generate sources with sourcery 1.0.0
2020-08-20 18:44:55 +02:00
Christian Treffs
43dfc619e2
Drop PropertyListCoder conformance
2020-08-11 22:26:07 +02:00
Christian Treffs
54bd41f67c
Refine foundation imports
2020-08-11 22:21:41 +02:00
Liam Don
87bc44a71a
Add support for SwiftWASM toolchain
2020-08-11 10:11:25 -07:00
Christian Treffs
11ef35a9ba
Clarify destroyMembers documentation
2020-08-07 11:20:23 +02:00