MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / selection

Method selection

utilities/olcUTIL_Container.h:88–91  ·  view source on GitHub ↗

Returns selected item in container

Source from the content-addressed store, hash-verified

86
87 // Returns selected item in container
88 size_t selection() const
89 {
90 return m_nSelectedItem;
91 }
92
93 // Return the item actually selected
94 const T& selected() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected