MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / pgex_Register

Method pgex_Register

olcPixelGameEngine.h:5111–5115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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); }

Callers 1

PGEXMethod · 0.80

Calls 3

beginMethod · 0.80
endMethod · 0.80
push_backMethod · 0.80

Tested by

no test coverage detected