27 Commits

Author SHA1 Message Date
edd8a3faa7 Worked on tests, fixed issues with entities
Implemented hashValue() for the entity so equality can be compared correctly.
I.e. hashValue is the actual value of the entity, as they *should* be unique
2021-06-10 15:57:58 +12:00
86ef1e30e3 Changed component data handling
Adding empty (null) component data defaults to false
Also added getNumEntities() function
Added a test for getRegistrationsOutOfRange
2021-06-10 15:28:15 +12:00
0571986059 Changed: Version; System Registration behaviour 2021-06-09 12:51:50 +12:00
d86c07352a Refactored ECS to Engine 2021-06-09 12:25:22 +12:00
d021b7815b Set visibilites 2021-06-09 11:34:14 +12:00
6ada4110e1 Switched to using a new Entity class
While likely less performant, it should provide good readability,
and good explaination of how an entity is related in the engine
2021-06-09 11:18:58 +12:00
0b3553d46e Fixed to meet tests 2021-06-08 21:34:57 +12:00
22a75f5559 Added docstrings and some exception handling 2021-06-08 21:13:05 +12:00
6e000492b0 .. 2021-06-08 17:08:57 +12:00
23abf57b6e Tests added, some function changes
Functions changed to return booleans
2021-06-08 17:08:47 +12:00
b1efb9802d Removed implementation classes
Leaves only the framework in the compiled clause.
Find the removed files in ../examples/misc/
2021-06-08 14:47:10 +12:00
7524a0096a Added abstraction to ECSSystem
Allows the library to signal the required implementations of inti() and update()
2021-06-08 14:44:34 +12:00
4354eac0cf Fixed referencing to package name 2021-06-07 21:25:01 +12:00
d66c23fcb3 Restructured the project for a release
Moved to javaecs, compiled via maven
Added changes to readme
2021-06-07 18:00:39 +12:00
8ffe1db4af Fixed failed creating entities
Now throws when too many entities created
2021-06-07 16:26:49 +12:00
cfd397e10a Added some unit testing 2021-06-07 15:54:02 +12:00
11ae6c425c Added a dynamic resize funtion 2021-05-22 22:30:44 +12:00
39c3de7dcb Switched from using class literal to class 2021-05-22 19:17:37 +12:00
5121b193b9 Successfully implmented physics system 2021-05-14 14:29:28 +12:00
5aeb91d28f Successfully implmented physics system 2021-05-14 14:29:05 +12:00
2192a4e93b Fully implemented the ECS
Basic example implementation also included, with a single entity that is under the effect of gravity. Various debug systems included
2021-04-27 13:50:59 +12:00
48a0fe2e1e Fully implemented Austin Morgan's ECS in Java
(minus generic typing)
2021-04-15 16:17:04 +12:00
44412dae46 Implemented component data per Austin Morlan's example 2021-04-01 16:02:17 +13:00
1e9fc8d180 Improved root data types 2021-04-01 11:19:03 +13:00
0c12f8d38b Added create and destroy functions 2021-03-27 13:42:35 +13:00
85c3470569 Added basic lists 2021-03-25 19:38:22 +13:00
0974d86000 Added initial files 2021-03-25 18:24:56 +13:00