-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPacker.h
More file actions
53 lines (43 loc) · 1.19 KB
/
Packer.h
File metadata and controls
53 lines (43 loc) · 1.19 KB
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
51
52
53
// ********************************************************************************
/// <summary>
///
/// </summary>
/// <created>ʆϒʅ,29.09.2018</created>
/// <changed>ʆϒʅ,13.10.2019</changed>
// ********************************************************************************
#ifndef PACKER_H
#define PACKER_H
#include "Shared.h"
struct Actions
{
std::string action;
unsigned short delay;
Actions ();
Actions ( const std::string&, const unsigned short& );
};
class Packer :public Inserter
{
private:
unsigned char id;
Packer* address;
std::string faces [2];
std::string* currentFace; // Todo for use in the tale
Actions process [4];
COORD position;
bool direction;
WORD motivation;
unsigned char aspiration;
unsigned char mood;
//unsigned char advancement;
public:
Packer ();
const unsigned char& getId ( void );
const Actions& getProcess ( const unsigned char& );
COORD& getPosition ( void );
bool& getDirection ( void );
const WORD& getMotivation ( void );
const unsigned char& getAspiration ( void );
void involve ( const unsigned short& );
static unsigned char count;
};
#endif // !PACKER_H