Initial structure

This commit is contained in:
2015-09-04 10:02:06 +02:00
commit 98e363eda6
457 changed files with 127943 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
/*
This file is part of Daydream Engine.
Copyright 2014 Adam Byléhn, Tobias Dahl, Simon Holmberg, Viktor Ljung
Daydream Engine is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Daydream Engine is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with Daydream Engine. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef Components_Template_h__
#define Components_Template_h__
#include "Core/Component.h"
namespace dd
{
namespace Components
{
/** Template flag component.
A template entity is used as a blueprint for cloning. For example,
pre-defined particles that a particle emitter will clone and emit into the world.
Systems __MUST__ ignore entities with a Template component for general processing.
__Observe:__ Cloning an entity with a Template component will not remove the template component!
*/
struct Template : public Component { };
}
}
#endif // !Components_Template_h__