1 #ifndef DAMAGESOURCE_H_
2 #define DAMAGESOURCE_H_
4 #include <msp/game/component.h>
7 class DamageSource: public Msp::Game::Component
10 using Setup = DamageSourceSetup;
16 DamageSource(Msp::Game::Handle<Msp::Game::Entity>, const Setup &);
18 unsigned get_amount() const { return setup.amount; }
19 unsigned get_type() const { return setup.type; }