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

Method addVirtualObjectType

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

Source from the content-addressed store, hash-verified

787}
788
789void TileMap::addVirtualObjectType( const std::string& name ) {
790 if ( std::find( mObjTypes.begin(), mObjTypes.end(), name ) == mObjTypes.end() )
791 mObjTypes.push_back( name );
792}
793
794void TileMap::removeVirtualObjectType( const std::string& name ) {
795 auto found = std::find( mObjTypes.begin(), mObjTypes.end(), name );

Callers 1

onNewGOTypeAddedMethod · 0.80

Calls 4

findFunction · 0.85
push_backMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected