Implemented entity cloning

This commit is contained in:
2014-04-27 07:48:16 +02:00
parent 956e7cab7b
commit 04cafc53e2
19 changed files with 107 additions and 16 deletions
+2
View File
@@ -16,6 +16,8 @@ struct PointLight : Component
float constantAttenuation, linearAttenuation, quadraticAttenuation;
float spotExponent;
Color color;
virtual PointLight* Clone() const override { return new PointLight(*this); }
};
}