dummy rigid_body component

This commit is contained in:
2019-11-29 09:07:25 +07:00
parent 7b6615b767
commit b80cdeb0e7
12 changed files with 153 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
{
"components" : {
"rigid_body" : {},
"touchable" : {},
"rect_collider" : {

View File

@@ -250,6 +250,7 @@ TEST_CASE("library"){
ecs::registry w;
ecs::entity e = w.create_entity(prefab_res->content().prototype());
REQUIRE(e.exists_component<rigid_body>());
REQUIRE(e.exists_component<touchable>());
REQUIRE(e.exists_component<rect_collider>());