mon_energy_usage Struct Reference

#include <mon-util.h>

List of all members.

Public Member Functions

 mon_energy_usage (int mv=10, int sw=10, int att=10, int miss=10, int spl=10, int spc=10, int itm=10, int pick=100)
mon_energy_usage operator| (const mon_energy_usage &o) const

Static Public Member Functions

static mon_energy_usage attack_cost (int cost, int sw=10)
static mon_energy_usage missile_cost (int cost)
static mon_energy_usage swim_cost (int cost)
static mon_energy_usage move_cost (int mv, int sw=10)

Public Attributes

int8_t move
int8_t swim
int8_t attack
int8_t missile
int8_t spell
int8_t special
int8_t item
int8_t pickup_percent


Constructor & Destructor Documentation

mon_energy_usage::mon_energy_usage ( int  mv = 10,
int  sw = 10,
int  att = 10,
int  miss = 10,
int  spl = 10,
int  spc = 10,
int  itm = 10,
int  pick = 100 
) [inline]


Member Function Documentation

static mon_energy_usage mon_energy_usage::attack_cost ( int  cost,
int  sw = 10 
) [inline, static]

static mon_energy_usage mon_energy_usage::missile_cost ( int  cost  )  [inline, static]

static mon_energy_usage mon_energy_usage::swim_cost ( int  cost  )  [inline, static]

static mon_energy_usage mon_energy_usage::move_cost ( int  mv,
int  sw = 10 
) [inline, static]

mon_energy_usage mon_energy_usage::operator| ( const mon_energy_usage o  )  const [inline]

Here is the call graph for this function:


Member Data Documentation


The documentation for this struct was generated from the following file:

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