MCPcopy Create free account
hub / github.com/SpartanJ/eepp / removeVirtualObjectType

Method removeVirtualObjectType

src/modules/maps/src/eepp/maps/tilemap.cpp:794–798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

792}
793
794void TileMap::removeVirtualObjectType( const std::string& name ) {
795 auto found = std::find( mObjTypes.begin(), mObjTypes.end(), name );
796 if ( found == mObjTypes.end() )
797 mObjTypes.erase( found );
798}
799
800void TileMap::clearVirtualObjectTypes() {
801 mObjTypes.clear();

Callers

nothing calls this directly

Calls 4

findFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected