Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

simulation
Class AStarGoalLowLevel

AStarGoalBase
   |
   +--AStarGoalLowLevel

   in AStarEngine.h
   in AStarEngine.cpp

class AStarGoalLowLevel
extends AStarGoalBase


Field Summary
private CVector2D coord
          
private float radius
          
 
Constructor Summary
AStarGoalLowLevel()
          
 
Method Summary
 float DistanceToGoal( const CVector2D& loc )
          
 CVector2D GetCoord( const CVector2D& loc )
          
 std::vector< CVector2D > GetNeighbors( const CVector2D& loc, HEntity entity )
          
 float GetRadius()
          
 CVector2D GetTile( const CVector2D& loc )
          
 float GetTileCost( const CVector2D& loc1, const CVector2D& loc2 )
          
 bool IsAtGoal( const CVector2D& loc )
          
 bool IsPassable( const CVector2D& loc, HEntity entity )
          
 void SetDestination( const CVector2D& dest )
          
 void SetRadius( float r )
          
   
Methods inherited from class AStarGoalBase
SetDestination, SetRadius, DistanceToGoal, IsAtGoal, GetTileCost, IsPassable, GetNeighbors, GetCoord, GetTile, GetRadius
 

Field Detail

coord

private CVector2D coord;

radius

private float radius;


Constructor Detail

AStarGoalLowLevel

public AStarGoalLowLevel();


Method Detail

DistanceToGoal

public float DistanceToGoal( const CVector2D& loc );

GetCoord

public CVector2D GetCoord( const CVector2D& loc );

GetNeighbors

public std::vector< CVector2D > GetNeighbors( const CVector2D& loc, HEntity entity );

GetRadius

public float GetRadius();

GetTile

public CVector2D GetTile( const CVector2D& loc );

GetTileCost

public float GetTileCost( const CVector2D& loc1, const CVector2D& loc2 );

IsAtGoal

public bool IsAtGoal( const CVector2D& loc );

IsPassable

public bool IsPassable( const CVector2D& loc, HEntity entity );

SetDestination

public void SetDestination( const CVector2D& dest );

SetRadius

public void SetRadius( float r );

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD