forked from jacyara/GenESyS-Reborn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Event.h
39 lines (33 loc) · 801 Bytes
/
Event.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: Event.h
* Author: cancian
*
* Created on 21 de Junho de 2018, 19:41
*/
#ifndef EVENT_H
#define EVENT_H
#include "ModelInfrastructure.h"
#include "Entity.h"
#include "ModelComponent.h"
#include <string>
class Event {//: public ModelInfrastructure {
public:
Event(double time, Entity* entity, ModelComponent* component);
Event(const Event& orig);
virtual ~Event();
public:
double getTime() const;
ModelComponent* getComponent() const;
Entity* getEntity() const;
std::string show();
private:
double _time;
Entity* _entity;
ModelComponent* _component;
};
#endif /* EVENT_H */