#include <los_def.h>
Public Member Functions | |
los_def () | |
los_def (const coord_def &c, const opacity_func &o=opc_default, const circle_def &b=BDS_DEFAULT) | |
los_def (const los_def &l) | |
~los_def () | |
los_def & | operator= (const los_def &l) |
void | init (const coord_def ¢er, const opacity_func &o, const circle_def &b) |
void | init_arena (const coord_def ¢er) |
void | set_center (const coord_def ¢er) |
coord_def | get_center () const |
void | set_opacity (const opacity_func &o) |
void | set_bounds (const circle_def &b) |
circle_def | get_bounds () const |
void | update () |
bool | in_bounds (const coord_def &p) const |
bool | see_cell (const coord_def &p) const |
los_def::los_def | ( | ) |
los_def::los_def | ( | const coord_def & | c, | |
const opacity_func & | o = opc_default , |
|||
const circle_def & | b = BDS_DEFAULT | |||
) |
los_def::los_def | ( | const los_def & | l | ) |
los_def::~los_def | ( | ) |
void los_def::init | ( | const coord_def & | center, | |
const opacity_func & | o, | |||
const circle_def & | b | |||
) |
void los_def::init_arena | ( | const coord_def & | center | ) |
void los_def::set_center | ( | const coord_def & | center | ) |
void los_def::set_opacity | ( | const opacity_func & | o | ) |
void los_def::set_bounds | ( | const circle_def & | b | ) |
circle_def los_def::get_bounds | ( | ) | const [virtual] |
Implements los_base.
void los_def::update | ( | ) |
bool los_def::in_bounds | ( | const coord_def & | p | ) | const [virtual] |
bool los_def::see_cell | ( | const coord_def & | p | ) | const [virtual] |