mon_enchant Class Reference

#include <monster.h>

List of all members.

Public Member Functions

 mon_enchant (enchant_type e=ENCH_NONE, int deg=0, kill_category whose=KC_OTHER, int dur=0)
killer_type killer () const
int kill_agent () const
 operator std::string () const
const char * kill_category_desc (kill_category) const
void merge_killer (kill_category who)
void cap_degree ()
void set_duration (const monster *mons, const mon_enchant *exist)
bool operator< (const mon_enchant &other) const
bool operator== (const mon_enchant &other) const
mon_enchantoperator+= (const mon_enchant &other)
mon_enchant operator+ (const mon_enchant &other) const

Public Attributes

enchant_type ench
int degree
int duration
int maxduration
kill_category who


Constructor & Destructor Documentation

mon_enchant::mon_enchant ( enchant_type  e = ENCH_NONE,
int  deg = 0,
kill_category  whose = KC_OTHER,
int  dur = 0 
)


Member Function Documentation

killer_type mon_enchant::killer (  )  const

int mon_enchant::kill_agent (  )  const

mon_enchant::operator std::string (  )  const

Here is the call graph for this function:

const char * mon_enchant::kill_category_desc ( kill_category  k  )  const

void mon_enchant::merge_killer ( kill_category  who  ) 

void mon_enchant::cap_degree (  ) 

Here is the call graph for this function:

void mon_enchant::set_duration ( const monster mons,
const mon_enchant exist 
)

bool mon_enchant::operator< ( const mon_enchant other  )  const [inline]

bool mon_enchant::operator== ( const mon_enchant other  )  const [inline]

mon_enchant & mon_enchant::operator+= ( const mon_enchant other  ) 

Here is the call graph for this function:

mon_enchant mon_enchant::operator+ ( const mon_enchant other  )  const


Member Data Documentation


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

Generated on Thu Jan 13 13:37:30 2011 by  doxygen 1.5.6