Roguelike
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | List of all members
game::component::Vision Class Reference

#include <vision.h>

Inheritance diagram for game::component::Vision:
Inheritance graph
[legend]
Collaboration diagram for game::component::Vision:
Collaboration graph
[legend]

Public Member Functions

 Vision (game::base::GameObject *owner)
 
virtual ~Vision ()
 
const base::GameObjectowner () 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)
 
- Public Member Functions inherited from game::component::ComponentBase
 ComponentBase (game::base::GameObject *owner)
 
 ~ComponentBase ()
 

Additional Inherited Members

- Protected Attributes inherited from game::component::ComponentBase
game::base::GameObjectowner_
 

Constructor & Destructor Documentation

game::component::Vision::Vision ( game::base::GameObject owner)
game::component::Vision::~Vision ( )
virtual

Member Function Documentation

void game::component::Vision::ClearVisibleTiles ( )
inline
const base::GameObject* game::component::Vision::owner ( ) const
inline
const std::set<int>& game::component::Vision::relevant_octants ( ) const
inline
void game::component::Vision::See ( )
void game::component::Vision::set_dir ( const ugdk::math::Integer2D &  dir)
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 
)
std::set<ugdk::math::Integer2D>& game::component::Vision::visible_tiles ( )
inline

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