--- /dev/null
+#include "hittable.h"
+
+using namespace Msp;
+
+Hittable::Hittable(Game::Handle<Game::Entity> p, const Setup &setup, const PhysicalSetup &ps, const Game::TransformValues &tv):
+ PhysicalEntity(p, ps, tv)
+{
+ if(!setup.immortal)
+ hits = Game::Owned<HitPoints>(*this, setup.hits);
+ if(setup.damaging)
+ damage = Game::Owned<DamageSource>(*this, setup.damage);
+}