MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / GetGraphics

Method GetGraphics

Source/Fodder.hpp:1312–1314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1310 void Game_Setup();
1311
1312 template <typename tType> std::shared_ptr<tType> GetGraphics() {
1313 return std::dynamic_pointer_cast<tType>(mGraphics);
1314 }
1315
1316 template <typename tType> std::shared_ptr<tType> GetSound() {
1317 return std::dynamic_pointer_cast<tType>(mSound);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected