MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / getEntryCount

Method getEntryCount

src/Abyss/DataTypes/Palette.cpp:45–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43const std::vector<PaletteEntry> &Palette::getEntries() const { return _entries; }
44
45size_t Palette::getEntryCount() const { return _entries.size(); }
46
47SDL_Color Palette::getSdlColor(const size_t index) const { return index == 0 ? SDL_Color{0, 0, 0, 0} : getEntry(index).getSdlColor(); }
48

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected