Commit Graph

47 Commits

Author SHA1 Message Date
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 8821648d7f
Refine component getter and setter 2020-10-19 17:33:53 +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 ae283feab4
Remove obsolete relatives implementation 2020-08-06 15:53:12 +02:00
Christian Treffs 0d79dc1d13
Deprecate relatives API 2020-08-03 11:40:15 +02:00
Christian Treffs da7277b5e1
Add all components sequence to entity 2020-05-26 15:03:31 +02:00
Christian Treffs 09dd6d2645
Fix typos and cleanup 2020-05-08 14:59:55 +02:00
Christian Treffs 66f5bfc0c6
Lint 2020-04-30 20:00:19 +02:00
Christian Treffs 6600cba5ae
Rework conformances 2020-04-30 19:56:30 +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 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 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 a1617ce390 Refactor entity creation + entity naming 2019-08-20 15:09:12 +02: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 ef7859a021 Make entity struct + inline some functions 2019-02-13 18:03:57 +01:00
Christian Treffs 18be7f3af3 Fix other lint warnings 2018-12-24 12:48:22 +01:00
Christian Treffs a0b541f351 Swiftlint autocorrect 2018-12-24 12:41:08 +01:00
Christian Treffs 664d208284 Add swiftlint rules and fix implications 2018-09-27 21:09:35 +02:00
Christian Treffs c18ca1c681 Open entity 2018-08-01 18:05:24 +02:00
Christian Treffs ea7be64755 Cleanups 2018-01-02 15:58:08 +01:00
Christian Treffs 9a30453e5e Refactored entity storage to sparse set 2017-11-20 22:55:05 +01:00
Christian Treffs 2ec9b1c364 Swiftlint strict first pass 2017-11-16 22:45:01 +01:00
Christian Treffs 525fb31724 Cleanups and small refactorings 2017-11-16 21:53:47 +01:00
Christian Treffs dcea98ff8a Cleanups 2017-11-16 20:49:17 +01:00
Christian Treffs 4c48aab814 Cleanups 2017-11-03 08:57:05 +01:00
Christian Treffs a42918501d Fix deinit routines 2017-11-03 08:47:06 +01:00
Christian Treffs 78c248ab0a Fix some reference counting 2017-11-02 17:48:46 +01:00
Christian Treffs a33281b1fa Fix family assign/remove problem 2017-10-28 13:55:02 +02:00
Christian Treffs 8c38f76e5a performance optimizations 2017-10-25 16:25:27 +02:00
Christian Treffs e07ac8e248 Stabelize API 2017-10-22 12:53:21 +02:00
Christian Treffs 41745a1fa7 Cleanups 2017-10-21 23:12:13 +02:00
Christian Treffs 2386fab4c3 Family iteration working 2017-10-20 16:25:29 +02:00
Christian Treffs 5994c37b52 Fix tests and results;
Cleanups
2017-10-15 11:29:20 +02:00
Christian Treffs bf62fde5db Add entity reuse concept;
Add tests for entity creation/deletion & component creation/deletion
2017-10-15 10:59:53 +02:00
Christian Treffs 4e0522aa49 new implementation - first test working 2017-10-15 01:36:18 +02:00
Christian Treffs e16759f9f1 Add Entity and Family storage implementations 2017-10-10 22:18:14 +02:00
Christian Treffs ccdb9545db Add component mapping 2017-10-09 22:03:00 +02:00
Christian Treffs e6cb5770e0 Add Family basics 2017-10-09 19:43:05 +02:00
Christian Treffs 6a045cd643 Stabelized API 2017-10-09 16:06:57 +02:00
Christian Treffs 4afb0ff42d Add ECS basics 2017-10-09 03:33:53 +02:00