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

#include <octant.h>

Public Member Functions

 Octant (int id, double range_squared)
 
 ~Octant ()
 
ugdk::math::Integer2D FocusCoordinates () const
 
ugdk::math::Integer2D FakeCoordinates () const
 
bool FocusIsOutOfBounds () const
 
bool FocusIsControlTile () const
 
OctantIteratoriterator ()
 
int parity () const
 
int rotations () const
 
void set_origin (const ugdk::math::Integer2D &origin)
 

Constructor & Destructor Documentation

game::alg::los::Octant::Octant ( int  id,
double  range_squared 
)
game::alg::los::Octant::~Octant ( )

Member Function Documentation

ugdk::math::Integer2D game::alg::los::Octant::FakeCoordinates ( ) const
inline
Integer2D game::alg::los::Octant::FocusCoordinates ( ) const
bool game::alg::los::Octant::FocusIsControlTile ( ) const
bool game::alg::los::Octant::FocusIsOutOfBounds ( ) const
OctantIterator* game::alg::los::Octant::iterator ( )
inline
int game::alg::los::Octant::parity ( ) const
inline
int game::alg::los::Octant::rotations ( ) const
inline
void game::alg::los::Octant::set_origin ( const ugdk::math::Integer2D &  origin)
inline

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