#include <vision.h>
Public Member Functions | |
Vision (game::base::GameObject *owner) | |
virtual | ~Vision () |
const base::GameObject * | owner () const |
const std::set< int > & | relevant_octants () const |
void | See () |
void | ClearVisibleTiles () |
void | set_dir (const ugdk::math::Integer2D &dir) |
std::set< ugdk::math::Integer2D > & | visible_tiles () |
void | visible_tile_action (const ugdk::math::Integer2D &tile, const alg::EquationalLineDouble &upper, const alg::EquationalLineDouble &lower, alg::los::enums::bump::BumpType bump) |
![]() | |
ComponentBase (game::base::GameObject *owner) | |
~ComponentBase () | |
Additional Inherited Members | |
![]() | |
game::base::GameObject * | owner_ |
game::component::Vision::Vision | ( | game::base::GameObject * | owner | ) |
|
virtual |
|
inline |
|
inline |
|
inline |
void game::component::Vision::See | ( | ) |
|
inline |
void game::component::Vision::visible_tile_action | ( | const ugdk::math::Integer2D & | tile, |
const alg::EquationalLineDouble & | upper, | ||
const alg::EquationalLineDouble & | lower, | ||
alg::los::enums::bump::BumpType | bump | ||
) |
|
inline |