Files
GDevelop/IDE/TemplateEvents.cpp
T
Florian 8672f179e9 Exchanged all french messages with their English counterparts.
Gui elements in SceneCanvas are now independant from the zoom factor.
Work in progress: NewProjectDialog.

git-svn-id: svn://localhost@837 8062f311-0dae-4547-b526-b8ab9ac864a5
2012-09-20 19:53:26 +00:00

43 lines
755 B
C++

/** \file
* Game Develop
* 2008-2012 Florian Rival (Florian.Rival@gmail.com)
*/
#include "TemplateEvents.h"
/**
* Initialize from another TemplateEvents.
* Used by copy ctor and assignement operator
*/
void TemplateEvents::Init(const TemplateEvents & other)
{
events = CloneVectorOfEvents(other.events);
name = other.name;
desc = other.desc;
parameters = other.parameters;
}
/**
* Custom copy operator
*/
TemplateEvents::TemplateEvents(const TemplateEvents & other)
{
Init(other);
}
/**
* Custom assignement operator
*/
TemplateEvents& TemplateEvents::operator=(const TemplateEvents & other)
{
if ( this != &other )
{
Init(other);
}
return *this;
}