forked from jacyara/GenESyS-Reborn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Create.h
39 lines (33 loc) · 954 Bytes
/
Create.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: Create.h
* Author: cancian
*
* Created on 21 de Junho de 2018, 20:12
*/
#ifndef CREATE_H
#define CREATE_H
#include <string>
#include <limits>
#include "SourceModelComponent.h"
/*!
* Create is the most basic component to include the first entities into the model, and therefore is a source component (derived from SourceModelComponent)
*/
class Create : public SourceModelComponent {
public:
Create(Model* model);
Create(const Create& orig);
virtual ~Create();
public:
virtual std::string show();
protected:
virtual void _execute(Entity* entity);
virtual void _loadInstance(std::list<std::string> words);
virtual std::list<std::string>* _saveInstance();
virtual bool _verifySymbols(std::string* errorMessage);
};
#endif /* CREATE_H */