-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathblockdata.cpp
More file actions
53 lines (43 loc) · 753 Bytes
/
blockdata.cpp
File metadata and controls
53 lines (43 loc) · 753 Bytes
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
#include "blockdata.h"
BlockData::BlockData()
{
status = content;
hidden = false;
}
BlockData::BlockData(const statusID status)
{
this->status = status;
hidden = false;
}
BlockData::statusID BlockData::getStatus() const
{
return status;
}
void BlockData::setStatus(statusID newStatus)
{
status = newStatus;
}
void BlockData::setHidden(bool hidden)
{
this->hidden = hidden;
}
bool BlockData::isHidden()
{
return hidden;
}
void BlockData::setStartBlock(const int start)
{
this->startBlock = start;
}
void BlockData::setEndBlock(const int end)
{
this->endBlock = end;
}
int BlockData::getStartBlock() const
{
return this->startBlock;
}
int BlockData::getEndBlock() const
{
return this->endBlock;
}