MCPcopy Create free account
hub / github.com/EasyRPG/Player / IsSorted

Method IsSorted

src/drawable_list.cpp:39–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39bool DrawableList::IsSorted() const {
40 return std::is_sorted(_list.begin(), _list.end(), DrawCmp);
41}
42
43void DrawableList::Sort() {
44 // stable sort to work around a flickering event sprite issue when

Callers 2

drawable_list.cppFile · 0.80
testAppendFunction · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected