Porytiles
Loading...
Searching...
No Matches
porytiles2::PackSet Class Reference

#include <pack_set.hpp>

Public Member Functions

 PackSet (unsigned int tile_index, const ColorSet &color_set)
 
unsigned int tile_index () const
 
const ColorSetcolor_set () const
 
int assigned_pal_index () const
 
void assign_pal_index (int pal_index)
 

Static Public Attributes

static constexpr int unassigned = -1
 

Detailed Description

Definition at line 7 of file pack_set.hpp.

Constructor & Destructor Documentation

◆ PackSet()

porytiles2::PackSet::PackSet ( unsigned int  tile_index,
const ColorSet color_set 
)
inline

Definition at line 11 of file pack_set.hpp.

Member Function Documentation

◆ assign_pal_index()

void porytiles2::PackSet::assign_pal_index ( int  pal_index)
inline

Definition at line 31 of file pack_set.hpp.

◆ assigned_pal_index()

int porytiles2::PackSet::assigned_pal_index ( ) const
inline

Definition at line 26 of file pack_set.hpp.

◆ color_set()

const ColorSet & porytiles2::PackSet::color_set ( ) const
inline

Definition at line 21 of file pack_set.hpp.

◆ tile_index()

unsigned int porytiles2::PackSet::tile_index ( ) const
inline

Definition at line 16 of file pack_set.hpp.

Member Data Documentation

◆ unassigned

constexpr int porytiles2::PackSet::unassigned = -1
staticconstexpr

Definition at line 9 of file pack_set.hpp.


The documentation for this class was generated from the following file: