1 #ifndef ROGUELIKE_ALG_LOS_OCTANTITERATOR_H_
2 #define ROGUELIKE_ALG_LOS_OCTANTITERATOR_H_
8 #include <ugdk/math/integer2D.h>
22 OctantIterator(
double range_squared,
const ugdk::math::Integer2D& start_offset )
30 virtual void Reset() = 0;
42 #endif // ROGUELIKE_ALG_LOS_OCTANTITERATOR_H_
ugdk::math::Integer2D operator*() const
Definition: octantiterator.h:26
Definition: octantiterator.h:20
virtual bool FocusIsControlTile() const =0
virtual OctantIterator & operator++()=0
double range_squared_
Definition: octantiterator.h:34
OctantIterator(double range_squared, const ugdk::math::Integer2D &start_offset)
Definition: octantiterator.h:22
bool end() const
Definition: octantiterator.h:27
ugdk::math::Integer2D focus_
Definition: octantiterator.h:35
~OctantIterator()
Definition: octantiterator.h:24