#include <abl-show.h>
Public Member Functions | |
generic_cost (int num) | |
generic_cost (int num, int _add, int _rolls=1) | |
int | cost () const |
operator bool () const | |
Static Public Member Functions | |
static generic_cost | fixed (int fixed) |
static generic_cost | range (int low, int high, int _rolls=1) |
Public Attributes | |
int | base |
int | add |
int | rolls |
generic_cost::generic_cost | ( | int | num | ) | [inline] |
generic_cost::generic_cost | ( | int | num, | |
int | _add, | |||
int | _rolls = 1 | |||
) | [inline] |
static generic_cost generic_cost::fixed | ( | int | fixed | ) | [inline, static] |
static generic_cost generic_cost::range | ( | int | low, | |
int | high, | |||
int | _rolls = 1 | |||
) | [inline, static] |
int generic_cost::cost | ( | ) | const |
generic_cost::operator bool | ( | ) | const [inline] |