Commit Graph

155 Commits

Author SHA1 Message Date
Christian Treffs 09dd6d2645
Fix typos and cleanup 2020-05-08 14:59:55 +02:00
Christian Treffs 041d556dc9
Revert family removal 2020-04-30 22:18:46 +02:00
Christian Treffs 23435523b9
Re-introduce ManagedContiguousArray 2020-04-30 22:07:33 +02:00
Christian Treffs a070b907c2
Lint 2020-04-30 20:04:07 +02:00
Christian Treffs 66f5bfc0c6
Lint 2020-04-30 20:00:19 +02:00
Christian Treffs a79df79bf9
Delete empty families & fix event delegate 2020-04-30 19:59:10 +02:00
Christian Treffs 6600cba5ae
Rework conformances 2020-04-30 19:56:30 +02:00
Christian Treffs 81cbb0f2b4
Rework component identifier handling 2020-04-30 19:54:18 +02:00
Christian Treffs e1ac76513c
Remove abandoned code 2020-04-30 19:50:46 +02:00
Christian Treffs 53621234d7 Make Nexus fully codable 2019-10-05 22:38:49 +02:00
Christian Treffs c3d84b4f12 Refactor component and entity identifier 2019-10-05 22:38:28 +02:00
Christian Treffs fa1ebe0193 Update sparse set 2019-10-05 22:37:29 +02:00
Christian Treffs 893cfaee74 Conform UnorderedSparseSet to Sequence 2019-10-05 15:07:15 +02:00
Christian Treffs d3ab0d96be Make components codable 2019-10-05 14:56:28 +02:00
Christian Treffs 61d407e5db Optimize and cleanup Nexus 2019-10-05 14:55:52 +02:00
Christian Treffs 589a8c2ec1 Optimize UnorderedSparseSet 2019-10-05 14:55:30 +02:00
Christian Treffs 98f2ff5d20 Optimize ManagedContiguousArray 2019-10-05 14:54:15 +02:00
Christian Treffs 031db2c1e3 Conform Component + Entity Identifier to Identifiable protocol 2019-10-05 10:03:08 +02:00
Christian Treffs 99d08c5139 Add nexus events 2019-10-01 08:13:05 +02:00
Christian Treffs 4a2ad80dd6 Extend scene graph implementation 2019-10-01 07:59:09 +02:00
Christian Treffs 0d9d1100dc Extend nexus equality check 2019-10-01 07:15:54 +02:00
Christian Treffs bc7c00f2a8 Add documentation 2019-10-01 07:12:09 +02:00
Christian Treffs 71a319fe27 Finish basic scene graph implementation 2019-10-01 07:06:00 +02:00
Christian Treffs 8958d96687 Implement first draft of parent child relation storage 2019-09-30 23:17:59 +02:00
Christian Treffs f312f9335e Extend child API 2019-09-30 22:16:37 +02:00
Christian Treffs dbf82389e0 Add basic scene graph API 2019-09-30 21:54:19 +02:00
Christian Treffs 2657faff34 Cleanups 2019-09-30 21:01:19 +02:00
Christian Treffs 29cd66b947 Fix swiftlint warnings 2019-09-30 20:50:12 +02:00
Christian Treffs 1ed0e24585 Swiftlint 2019-09-30 20:37:03 +02:00
Christian Treffs 2084e04257 Fix build for Swift 5.0.1 2019-08-22 13:45:08 +02:00
Christian Treffs ec8a59f03b Fix trait set validation 2019-08-22 09:10:41 +02:00
Christian Treffs 81b254480b Add component documentation 2019-08-21 14:12:22 +02:00
Christian Treffs bd20408bf6 Naming and optimizations 2019-08-21 14:09:17 +02:00
Christian Treffs c4d213a4e2 Implement entity and component lookup for different family sizes 2019-08-21 13:48:04 +02:00
Christian Treffs af3864701e Rework TypedFamilies to Family 2019-08-21 13:17:07 +02:00
Christian Treffs f56faaace5 Remove UniformStorage protocol 2019-08-21 07:15:49 +02:00
Christian Treffs cde6e94b35 Refactor family member iteration to while with iterator 2019-08-20 17:08:23 +02:00
Christian Treffs 00026ad85a Cleanup nexus event delegate handling 2019-08-20 17:04:17 +02:00
Christian Treffs b692d5de92 Optimize Nexus storage 2019-08-20 17:00:56 +02:00
Christian Treffs d68b935e2e Cleanup typealiases 2019-08-20 16:49:56 +02:00
Christian Treffs b62cf7464b Refactor EntityIdentifier 2019-08-20 16:36:45 +02:00
Christian Treffs 89f0a92557 Cleanup entity implementation 2019-08-20 15:43:15 +02:00
Christian Treffs 7c98d5af88 Refactor ComponentIdentifier, remove TypeIdentifiable 2019-08-20 15:28:15 +02:00
Christian Treffs a1617ce390 Refactor entity creation + entity naming 2019-08-20 15:09:12 +02:00
Christian Treffs ccf18f6945 Refactor NexusDelegate to own file and rename to NexusEventDelegate 2019-08-20 15:07:28 +02:00
Christian Treffs ab785d666d Move typealiases to own file 2019-08-20 15:06:30 +02:00
Christian Treffs 9252a0b76e Upate license 2019-08-01 07:10:22 +02:00
Christian Treffs 181d8cac51 Add access control for components 2019-06-25 08:10:19 +02:00
Christian Treffs 85c7e2296b Refactor sparse component identifier set out 2019-03-08 17:57:47 +01:00
Christian Treffs 209c19fa2f Unconform sparse set to collection, since index collision problem occurs 2019-03-08 17:57:01 +01:00