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

Method OnUserCreate

examples/TEST_Patches.cpp:70–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69public:
70 bool OnUserCreate() override
71 {
72 pSprite = std::make_unique<olc::Sprite>("./assets/DirectionalSolids.png");
73 pDecal = std::make_unique<olc::Decal>(pSprite.get());
74 return true;
75 }
76
77
78 bool OnUserUpdate(float fElapsedTime) override

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected