trap_def Struct Reference

#include <trap_def.h>

Collaboration diagram for trap_def:

Collaboration graph
[legend]

List of all members.

Public Member Functions

dungeon_feature_type category () const
std::string name (description_level_type desc=DESC_PLAIN) const
bool is_known (const actor *act=0) const
void trigger (actor &triggerer, bool flat_footed=false)
void disarm ()
void destroy ()
void hide ()
void reveal ()
void prepare_ammo ()
bool type_has_ammo () const
bool active () const
bool defined () const
int max_damage (const actor &act)

Public Attributes

coord_def pos
trap_type type
int ammo_qty


Member Function Documentation

dungeon_feature_type trap_def::category (  )  const

Here is the call graph for this function:

std::string trap_def::name ( description_level_type  desc = DESC_PLAIN  )  const

Here is the call graph for this function:

bool trap_def::is_known ( const actor act = 0  )  const

Here is the call graph for this function:

void trap_def::trigger ( actor triggerer,
bool  flat_footed = false 
)

void trap_def::disarm (  ) 

Here is the call graph for this function:

void trap_def::destroy (  ) 

Here is the call graph for this function:

void trap_def::hide (  ) 

void trap_def::reveal (  ) 

Here is the call graph for this function:

void trap_def::prepare_ammo (  ) 

Here is the call graph for this function:

bool trap_def::type_has_ammo (  )  const

bool trap_def::active (  )  const

bool trap_def::defined (  )  const [inline]

Here is the call graph for this function:

int trap_def::max_damage ( const actor act  ) 

Here is the call graph for this function:


Member Data Documentation


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

Generated on Thu Jan 13 13:42:45 2011 by  doxygen 1.5.6