-
Notifications
You must be signed in to change notification settings - Fork 10
/
Release.h
46 lines (37 loc) · 1017 Bytes
/
Release.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
39
40
41
42
43
44
45
/*
* 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: Release.h
* Author: cancian
*
* Created on 21 de Agosto de 2018, 16:17
*/
#ifndef RELEASE_H
#define RELEASE_H
#include <string>
#include "ModelComponent.h"
#include "Resource.h"
class Release: public ModelComponent {
public:
Release(Model* model);
Release(const Release& orig);
virtual ~Release();
public:
virtual std::string show();
public: // get & set
protected:
virtual void _execute(Entity* entity);
private:
// unsigned int _allocationType = 0; // uint ? enum?
unsigned short _priority = 0;
Resource::ResourceType _resourceType = Resource::ResourceType::rtRESOURCE;
std::string _resourceName = "Resource 1";
std::string _quantity = "1";
Resource::ResourceRule _rule = Resource::ResourceRule::rrSMALLESTBUSY;
std::string _saveAttribute = "";
private: // no g&s
};
#endif /* RELEASE_H */