Move entityclass::setblockcolour() to blockclass::setblockcolour()

This moves the function setblockcolour(), so I can directly call it on a
particular block without having to have it be inside obj.blocks.
This commit is contained in:
Misa
2020-04-03 15:26:19 -07:00
committed by Ethan Lee
parent 2cb90afbda
commit 7edbebac92
4 changed files with 103 additions and 103 deletions

View File

@@ -12,6 +12,8 @@ public:
void clear();
void rectset(const int xi, const int yi, const int wi, const int hi);
void setblockcolour(std::string col);
public:
//Fundamentals
bool active;