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

Method LoadFromFile

olcPixelGameEngine.h:2129–2133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2127
2128
2129 olc::rcode Sprite::LoadFromFile(const std::string& sImageFile, olc::ResourcePack* pack)
2130 {
2131 UNUSED(pack);
2132 return loader->LoadImageResource(this, sImageFile, pack);
2133 }
2134
2135 olc::Sprite* Sprite::Duplicate()
2136 {

Callers 1

LoadMethod · 0.45

Calls 1

LoadImageResourceMethod · 0.45

Tested by

no test coverage detected