MCPcopy Create free account
hub / github.com/ddnet/ddnet / SelectedLayerType

Method SelectedLayerType

src/game/editor/mapitems/map.cpp:316–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316std::shared_ptr<CLayer> CEditorMap::SelectedLayerType(int Index, int Type) const
317{
318 std::shared_ptr<CLayer> pLayer = SelectedLayer(Index);
319 if(pLayer && pLayer->m_Type == Type)
320 return pLayer;
321 return nullptr;
322}
323
324void CEditorMap::SelectLayer(int LayerIndex, int GroupIndex)
325{

Callers 14

DoToolbarLayersMethod · 0.80
DoQuadKnifeMethod · 0.80
DoMapEditorMethod · 0.80
PopupMenuToolsMethod · 0.80
PopupQuadMethod · 0.80
PopupSourceMethod · 0.80
PopupPointMethod · 0.80
OnInputMethod · 0.80
TextModeOnMethod · 0.80
OnRenderMethod · 0.80
RenderGroupBorderMethod · 0.80
RenderEditorMapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected