#include <mapdef.h>
Public Member Functions | |
map_chance () | |
map_chance (int _priority, int _chance) | |
map_chance (int _chance) | |
bool | valid () const |
bool | dummy_chance () const |
std::string | describe () const |
bool | roll () const |
void | write (writer &) const |
void | read (reader &) |
Public Attributes | |
int | chance_priority |
int | chance |
map_chance::map_chance | ( | ) | [inline] |
map_chance::map_chance | ( | int | _priority, | |
int | _chance | |||
) | [inline] |
map_chance::map_chance | ( | int | _chance | ) | [inline] |
bool map_chance::valid | ( | ) | const [inline] |
bool map_chance::dummy_chance | ( | ) | const [inline] |
std::string map_chance::describe | ( | ) | const |
bool map_chance::roll | ( | ) | const |
void map_chance::write | ( | writer & | outf | ) | const |
void map_chance::read | ( | reader & | inf | ) |