]> git.tdb.fi Git - libs/game.git/blobdiff - examples/bassteroids/source/hittable.h
Use the setup generator to create setup structs
[libs/game.git] / examples / bassteroids / source / hittable.h
index b548a38bbddff6b1628da4c7ff4a94a05702e286..bdbc43eac483b33831a48e13028924b0f599f484 100644 (file)
@@ -5,14 +5,7 @@
 #include "damagesource.h"
 #include "hitpoints.h"
 #include "physicalentity.h"
-
-struct HittableSetup
-{
-       bool immortal = false;
-       bool damaging = false;
-       HitPointsSetup hits;
-       DamageSourceSetup damage;
-};
+#include "setups.h"
 
 class Hittable: public PhysicalEntity
 {