Collision callbacks

This commit is contained in:
ViktorLjung
2014-05-17 18:06:56 +02:00
parent 05757b6112
commit 4d15d3e02c
6 changed files with 58 additions and 5 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef Components_Health_h__
#define Components_Health_h__
#include "Component.h"
namespace Components
{
struct Health : Component
{
Health()
: health(1.0f){ }
float health;
virtual Health* Clone() const override { return new Health(*this); }
};
}
#endif // Components_Health_h__