a_star_world Class Reference

#include <astarnode.hpp>

Collaboration diagram for a_star_world:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void resize_IFN (size_t parWidth, size_t parHeight)
void clear ()
a_star_nodegetNodeFromLocation (gamemap::location const &loc, bool &isCreated)
 a_star_world ()
 ~a_star_world ()

Private Types

typedef std::vector
< a_star_node * > 
vect_a_star_node

Private Attributes

poss_a_star_nodepool_
vect_a_star_node vectAStarNode_
size_t width_
size_t nbNode_

Classes

class  poss_a_star_node


Detailed Description

Definition at line 39 of file astarnode.hpp.


Member Typedef Documentation

typedef std::vector<a_star_node*> a_star_world::vect_a_star_node [private]

Definition at line 43 of file astarnode.hpp.


Constructor & Destructor Documentation

a_star_world::a_star_world (  ) 

Definition at line 117 of file astarnode.cpp.

a_star_world::~a_star_world (  ) 

Definition at line 122 of file astarnode.cpp.

References pool_.


Member Function Documentation

void a_star_world::resize_IFN ( size_t  parWidth,
size_t  parHeight 
)

Definition at line 127 of file astarnode.cpp.

References nbNode_, vectAStarNode_, and width_.

Referenced by a_star_init().

void a_star_world::clear ( void   ) 

Definition at line 140 of file astarnode.cpp.

References a_star_world::poss_a_star_node::clear(), nbNode_, pool_, and vectAStarNode_.

Referenced by a_star_search().

a_star_node * a_star_world::getNodeFromLocation ( gamemap::location const &  loc,
bool &  isCreated 
)


Member Data Documentation

Definition at line 41 of file astarnode.hpp.

Referenced by clear(), getNodeFromLocation(), and ~a_star_world().

Definition at line 44 of file astarnode.hpp.

Referenced by clear(), getNodeFromLocation(), and resize_IFN().

size_t a_star_world::width_ [private]

Definition at line 45 of file astarnode.hpp.

Referenced by getNodeFromLocation(), and resize_IFN().

size_t a_star_world::nbNode_ [private]

Definition at line 45 of file astarnode.hpp.

Referenced by clear(), getNodeFromLocation(), and resize_IFN().


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs