mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-14 16:09:06 +07:00
dummy rigid_body component
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"components" : {
|
||||
"rigid_body" : {},
|
||||
"touchable" : {},
|
||||
|
||||
"rect_collider" : {
|
||||
|
||||
@@ -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>());
|
||||
|
||||
Reference in New Issue
Block a user