27 lines
501 B
C++
27 lines
501 B
C++
#ifndef Components_DamageModel_h__
|
|
#define Components_DamageModel_h__
|
|
|
|
#include <string>
|
|
|
|
#include "Component.h"
|
|
|
|
namespace Components
|
|
{
|
|
|
|
struct DamageModel : Component
|
|
{
|
|
DamageModel()
|
|
: Color(glm::vec4(1.0f, 1.0f, 1.0f, 1.0f))
|
|
, ShadowCaster(true)
|
|
, Transparent(false)
|
|
{ }
|
|
std::string ModelFile;
|
|
glm::vec4 Color;
|
|
bool ShadowCaster;
|
|
bool Transparent;
|
|
|
|
virtual DamageModel* Clone() const override { return new DamageModel(*this); }
|
|
};
|
|
|
|
}
|
|
#endif // !Components_DamageModel_h__
|