Identifies a tile created from a prefilled palette.
More...
#include <packable_tile.hpp>
Identifies a tile created from a prefilled palette.
- Invariant
- index is always in the range [0, 15]
Definition at line 51 of file packable_tile.hpp.
◆ PrefilledPaletteId()
| porytiles::PackableTile::PrefilledPaletteId::PrefilledPaletteId |
( |
std::size_t |
index | ) |
|
|
inlineexplicit |
◆ index()
| std::size_t porytiles::PackableTile::PrefilledPaletteId::index |
( |
| ) |
const |
|
inline |
◆ operator<=>()
| auto porytiles::PackableTile::PrefilledPaletteId::operator<=> |
( |
const PrefilledPaletteId & |
| ) |
const |
|
default |
◆ operator==()
| bool porytiles::PackableTile::PrefilledPaletteId::operator== |
( |
const PrefilledPaletteId & |
| ) |
const |
|
default |
◆ max_index
| constexpr std::size_t porytiles::PackableTile::PrefilledPaletteId::max_index = 15 |
|
staticconstexpr |
The documentation for this class was generated from the following file: