| 5109 | } |
| 5110 | |
| 5111 | void PixelGameEngine::pgex_Register(olc::PGEX* pgex) |
| 5112 | { |
| 5113 | if (std::find(vExtensions.begin(), vExtensions.end(), pgex) == vExtensions.end()) |
| 5114 | vExtensions.push_back(pgex); |
| 5115 | } |
| 5116 | |
| 5117 | |
| 5118 | PGEX::PGEX(bool bHook) { if (bHook) pge->pgex_Register(this); } |