#include <UMPAssembly.h>
Public Member Functions | |
TileAndAmount (const std::string &tileName, const int min, const int max, bool fix=false) | |
const std::string | toString () const |
const std::string | getTileName () const |
const int | getMinAmount () const |
const int | getMaxAmount () const |
const bool | isFix () const |
Private Attributes | |
std::string | _tileName |
int | _min |
int | _max |
bool | _fix |
Data structure containing both a tile name and the min/max amount for this assembly
Definition at line 13 of file UMPAssembly.h.
map::ump::TileAndAmount::TileAndAmount | ( | const std::string & | tileName, | |
const int | min, | |||
const int | max, | |||
bool | fix = false | |||
) | [inline] |
Definition at line 27 of file UMPAssembly.h.
const int map::ump::TileAndAmount::getMaxAmount | ( | ) | const [inline] |
Definition at line 47 of file UMPAssembly.h.
References _max.
const int map::ump::TileAndAmount::getMinAmount | ( | ) | const [inline] |
Definition at line 43 of file UMPAssembly.h.
References _min.
const std::string map::ump::TileAndAmount::getTileName | ( | ) | const [inline] |
Definition at line 39 of file UMPAssembly.h.
References _tileName.
const bool map::ump::TileAndAmount::isFix | ( | ) | const [inline] |
Definition at line 51 of file UMPAssembly.h.
References _fix.
const std::string map::ump::TileAndAmount::toString | ( | ) | const [inline] |
Definition at line 32 of file UMPAssembly.h.
bool map::ump::TileAndAmount::_fix [private] |
Definition at line 23 of file UMPAssembly.h.
Referenced by isFix().
int map::ump::TileAndAmount::_max [private] |
Definition at line 21 of file UMPAssembly.h.
Referenced by getMaxAmount(), and toString().
int map::ump::TileAndAmount::_min [private] |
Definition at line 19 of file UMPAssembly.h.
Referenced by getMinAmount(), and toString().
Definition at line 17 of file UMPAssembly.h.
Referenced by getTileName(), and toString().