#include <monstinf.h>
Collaboration diagram for Equip_element:
Public Member Functions | |
Equip_element () | |
void | set (int shnum, int prob, int quant) |
int | get_shapenum () const |
int | get_probability () const |
int | get_quantity () const |
Private Attributes | |
unsigned short | shapenum |
unsigned char | probability |
unsigned char | quantity |
Friends | |
class | Monster_info |
class | Monster_actor |
Definition at line 37 of file monstinf.h.
Equip_element::Equip_element | ( | ) | [inline] |
Definition at line 45 of file monstinf.h.
void Equip_element::set | ( | int | shnum, | |
int | prob, | |||
int | quant | |||
) | [inline] |
Definition at line 47 of file monstinf.h.
References probability, quantity, and shapenum.
Referenced by Equip_record::set().
int Equip_element::get_shapenum | ( | ) | const [inline] |
int Equip_element::get_probability | ( | ) | const [inline] |
int Equip_element::get_quantity | ( | ) | const [inline] |
friend class Monster_info [friend] |
Definition at line 43 of file monstinf.h.
friend class Monster_actor [friend] |
Definition at line 44 of file monstinf.h.
unsigned short Equip_element::shapenum [private] |
Definition at line 39 of file monstinf.h.
Referenced by Monster_actor::create(), get_shapenum(), and set().
unsigned char Equip_element::probability [private] |
Definition at line 40 of file monstinf.h.
Referenced by Monster_actor::create(), get_probability(), and set().
unsigned char Equip_element::quantity [private] |
Definition at line 41 of file monstinf.h.
Referenced by Monster_actor::create(), get_quantity(), and set().