-
Notifications
You must be signed in to change notification settings - Fork 14
/
Event.h
50 lines (40 loc) · 824 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
39
40
41
42
43
44
45
46
47
48
49
50
/**
* Event.h
* Klasse für ein jährliches Event
*
* @mc Arduino/UNO
* @autor Manuel Bracher / [email protected]
* @version 1.0
* @created 02.01.15
*
* Versionshistorie:
* V 1.0: - Erstellt.
*/
#ifndef EVENT_H
#define EVENT_H
#include "Effects.h"
#include "Configuration.h"
#include "Colors.h"
#include "Settings.h"
extern Settings settings;
#define DURATION_BM 15
#define TICKER_SPEED 6
#define DURATION_ANI_BM (DURATION_BM/5)
class Event {
public:
Event(byte month,
byte date,
const char* txt,
Effects::eEffects effect,
eColors color);
void show();
byte getMonth();
byte getDate();
private:
byte _month;
byte _date;
const char* _txt;
Effects::eEffects _effect;
eColors _color;
};
#endif //EVENT_H