Replace setblockcolour() argument with const char*

There's no reason it needs to be an std::string here.

Although, realistically, we should be using an enum instead of
string-typing, but, eh, that can be fixed later.
This commit is contained in:
Misa
2021-09-11 23:15:34 -07:00
parent 2991b2341a
commit a10342f5e6
3 changed files with 14 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ public:
void rectset(const int xi, const int yi, const int wi, const int hi);
void setblockcolour(std::string col);
void setblockcolour(const char* col);
public:
//Fundamentals
SDL_Rect rect;