Roguelike
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Protected Attributes | List of all members
game::alg::los::OctantIterator Class Referenceabstract

#include <octantiterator.h>

Inheritance diagram for game::alg::los::OctantIterator:
Inheritance graph
[legend]
Collaboration diagram for game::alg::los::OctantIterator:
Collaboration graph
[legend]

Public Member Functions

 OctantIterator (double range_squared, const ugdk::math::Integer2D &start_offset)
 
 ~OctantIterator ()
 
ugdk::math::Integer2D operator* () const
 
bool end () const
 
virtual OctantIteratoroperator++ ()=0
 
virtual void Reset ()=0
 
virtual bool FocusIsControlTile () const =0
 

Protected Attributes

double range_squared_
 
ugdk::math::Integer2D focus_
 

Constructor & Destructor Documentation

game::alg::los::OctantIterator::OctantIterator ( double  range_squared,
const ugdk::math::Integer2D &  start_offset 
)
inline
game::alg::los::OctantIterator::~OctantIterator ( )
inline

Member Function Documentation

bool game::alg::los::OctantIterator::end ( ) const
inline
virtual bool game::alg::los::OctantIterator::FocusIsControlTile ( ) const
pure virtual
ugdk::math::Integer2D game::alg::los::OctantIterator::operator* ( ) const
inline
virtual OctantIterator& game::alg::los::OctantIterator::operator++ ( )
pure virtual
virtual void game::alg::los::OctantIterator::Reset ( )
pure virtual

Member Data Documentation

ugdk::math::Integer2D game::alg::los::OctantIterator::focus_
protected
double game::alg::los::OctantIterator::range_squared_
protected

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