Angband
Data Fields
trap Struct Reference

An actual trap. More...

#include <trap.h>

Data Fields

byte t_idx
 Trap kind index. More...
 
struct trap_kindkind
 Trap kind. More...
 
struct trapnext
 Next trap in this location. More...
 
byte fy
 Location of trap. More...
 
byte fx
 
byte power
 Power for locks, visibility for traps. More...
 
byte timeout
 Timer for disabled traps. More...
 
bitflag flags [TRF_SIZE]
 Trap flags (only this particular trap) More...
 

Detailed Description

An actual trap.

Field Documentation

◆ flags

bitflag flags[TRF_SIZE]

◆ fx

byte fx

◆ fy

byte fy

◆ kind

struct trap_kind* kind

◆ next

struct trap* next

◆ power

byte power

◆ t_idx

byte t_idx

◆ timeout

byte timeout

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