-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSpace.cpp
More file actions
84 lines (65 loc) · 1 KB
/
Space.cpp
File metadata and controls
84 lines (65 loc) · 1 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/****************************
**Program: Final Project
**Name: Kirsten Carter
**Date: 6/3/2019
**Description: Space Class - Holds all the functions and values related to Space.
*****************************/
#include "Space.hpp"
#include <iostream>
Space::Space()
{
}
void Space::setTop(Space* t)
{
top = t;
}
void Space::setBottom(Space* b)
{
bottom = b;
}
void Space::setLeft(Space* l)
{
left = l;
}
void Space::setRight(Space* r)
{
right = r;
}
void Space::setName(std::string n)
{
name = n;
}
void Space::setBuckbeak(int v)
{
buckbeak = v;
}
Space* Space::getTop()
{
return top;
}
Space* Space::getBottom()
{
return bottom;
}
Space* Space::getLeft()
{
return left;
}
Space* Space::getRight()
{
return right;
}
bool Space::getBuckbeak()
{
return buckbeak;
}
std::string Space::getName()
{
return name;
}
// void Space::play(People* player, std::vector<std::string>, int steps)
// {
// }
Space::~Space()
{
}