Function TRAP::Graphics::SpriteManager::Contains#

Function Documentation#

bool TRAP::Graphics::SpriteManager::Contains(std::string_view name)#

Check whether a sprite exists.

Parameters:

name – Name of sprite to check.

Returns:

True if sprite exists, false otherwise.