Skip to content

TagsContainer

Modar Nasser edited this page Jun 18, 2024 · 1 revision

In file LDtkLoader/containers/TagsContainer.hpp

Class : ldtk::TagsContainer

Base class for objects that can be tagged. Tags are strings.

Methods

hasTag

ldtk::TagsContainer::hasTag(const std::string&) const -> bool

Returns true if the TagsContainer contains the given tag, returns false otherwise.

allTags

ldtk::TagsContainer::allTags() const -> const std::vector<std::string>&

Returns a vector containing all the tags in the TagsContainer.

🔝

Clone this wiki locally