]> git.tdb.fi Git - libs/game.git/blobdiff - examples/bassteroids/source/physicalentity.h
Use the setup generator to create setup structs
[libs/game.git] / examples / bassteroids / source / physicalentity.h
index 8f2a57fa07fae65308947a12908fbfc50eb38f1b..0708d42ae46249a2b978739db02f55cbcf7c0749 100644 (file)
@@ -3,15 +3,9 @@
 
 #include <msp/game/entity.h>
 #include <msp/game/transform.h>
-#include "rigidbody.h"
 #include "collider.h"
-
-struct PhysicalSetup
-{
-       bool fixture = false;
-       RigidBodySetup body;
-       ColliderSetup collider;
-};
+#include "rigidbody.h"
+#include "setups.h"
 
 class PhysicalEntity: public Msp::Game::Entity
 {