8 std::vector<ClickableObject*> ClickableObject::objectList;
10 ClickableObject::ClickableObject(
void)
12 objectList.push_back(
this);
15 void ClickableObject::clickAll()
17 for (
unsigned int i = 0; i < objectList.size(); i++)
19 objectList.at(i)->mouseClick();
23 void ClickableObject::drawAll()
25 for (
unsigned int i = 0; i < objectList.size(); i++)
27 objectList.at(i)->draw();