Commit Graph

137 Commits

Author SHA1 Message Date
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
Christian Treffs 1a20a9ae30 Add Swift 5 compatibility 2019-03-08 14:03:10 +01:00
Christian Treffs df7f36ea5c Add debug description & make sparse set arrays œusableFromInline 2019-02-21 13:29:45 +01:00
Christian Treffs e83c68a48f Undo chunk size calculation update 2019-02-14 16:36:20 +01:00
Christian Treffs 17102dae0f Improve ManagedContiguousArray growth size 2019-02-14 16:31:27 +01:00
Christian Treffs 5e67067b7d Adhere ManagedContiguousArray to UniformStorage 2019-02-14 16:18:28 +01:00
Christian Treffs 9486e633df Overall improvements to consistency 2019-02-14 16:18:03 +01:00
Christian Treffs ea632606d6 Cleanup Entity 2019-02-14 15:03:55 +01:00
Christian Treffs dc4cb626c6 Improve family update 2019-02-14 14:59:49 +01:00
Christian Treffs 13dc68dc26 Resolve component collision decission 2019-02-14 14:59:27 +01:00
Christian Treffs f7d2a5b3a2 Cleanups 2019-02-14 14:35:07 +01:00
Christian Treffs 4e15ef217e Cleanups 2019-02-14 12:52:07 +01:00
Christian Treffs 83efcfd423 Refactor FamilyTraitSet to remove unused needsAtLeastOne component set 2019-02-14 12:52:00 +01:00
Christian Treffs fee1c2e52e Cleanup and refactor tests 2019-02-14 12:34:42 +01:00
Christian Treffs c1a68300de Introduce unsafe API for performance and refine Single 2019-02-14 10:43:03 +01:00
Christian Treffs ef7859a021 Make entity struct + inline some functions 2019-02-13 18:03:57 +01:00
Christian Treffs 32bf1c3caf Make TypedFamilies structs and nexus reference non weak 2019-02-13 17:44:30 +01:00
Christian Treffs cb248d87cf Introduce single 2019-02-13 17:32:47 +01:00
Christian Treffs 4b3bf150de Fix AnyObject to class 2018-12-24 12:50:51 +01:00