StarEngine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
star::SearchCell Struct Reference

#include <SearchCell.h>

Collaboration diagram for star::SearchCell:
Collaboration graph

Public Member Functions

 SearchCell ()
 
 SearchCell (int x, int y, SearchCell *parent)
 
 ~SearchCell ()
 
float GetF () const
 
float ManhattanDistance (SearchCell *nodeEnd)
 

Public Attributes

int X
 
int Y
 
int Id
 
SearchCellParent
 
float G
 
float H
 

Static Public Attributes

static const int WORLD_SIZE = 15
 

Constructor & Destructor Documentation

star::SearchCell::SearchCell ( )
star::SearchCell::SearchCell ( int  x,
int  y,
SearchCell parent 
)
star::SearchCell::~SearchCell ( )

Member Function Documentation

float star::SearchCell::GetF ( ) const
float star::SearchCell::ManhattanDistance ( SearchCell nodeEnd)

Member Data Documentation

float star::SearchCell::G
float star::SearchCell::H
int star::SearchCell::Id
SearchCell* star::SearchCell::Parent
const int star::SearchCell::WORLD_SIZE = 15
static
int star::SearchCell::X
int star::SearchCell::Y

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