Files
fishtanks/src/Components/TurretShot.h
T
2014-06-05 02:54:44 +02:00

26 lines
441 B
C++

#ifndef Components_TurretShot_h__
#define Components_TurretShot_h__
#include "Component.h"
namespace Components
{
struct TurretShot : Component
{
TurretShot()
: Damage(1.0f),
ExplosionRadius(1.0f),
ExplosionStrength(100.0f) { }
float Damage;
float ExplosionRadius;
float ExplosionStrength;
virtual TurretShot* Clone() const override { return new TurretShot(*this); }
};
}
#endif // Components_TurretShot_h__