mirror of
https://github.com/devZoGok/gameBase.git
synced 2026-08-26 19:43:28 +00:00
removed string bool argument from Index constructor
This commit is contained in:
+12
-2
@@ -15,9 +15,19 @@ namespace gameBase{
|
||||
std::string index;
|
||||
bool string;
|
||||
|
||||
Index(std::string index, bool string){
|
||||
Index(std::string index){
|
||||
this->index = index;
|
||||
this->string = string;
|
||||
this->string = true;
|
||||
}
|
||||
|
||||
Index(int index){
|
||||
this->index = std::to_string(index);
|
||||
this->string = false;
|
||||
}
|
||||
|
||||
Index(float index){
|
||||
this->index = std::to_string(index);
|
||||
this->string = false;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user