C# Class Dwarrowdelf.AStarEnvTargetBase

Inheritance: IAStarTarget
Exibir arquivo Open project: tomba/dwarrowdelf

Protected Properties

Property Type Description
m_env IEnvironmentObject

Public Methods

Method Description
GetCostBetween ( IntVector3 src, IntVector3 dst ) : ushort
GetHeuristic ( IntVector3 p ) : ushort
GetIsTarget ( IntVector3 p ) : bool
GetValidDirs ( IntVector3 p ) : IEnumerable

Protected Methods

Method Description
AStarEnvTargetBase ( IEnvironmentObject env ) : System

Method Details

AStarEnvTargetBase() protected method

protected AStarEnvTargetBase ( IEnvironmentObject env ) : System
env IEnvironmentObject
return System

GetCostBetween() public method

public GetCostBetween ( IntVector3 src, IntVector3 dst ) : ushort
src IntVector3
dst IntVector3
return ushort

GetHeuristic() public abstract method

public abstract GetHeuristic ( IntVector3 p ) : ushort
p IntVector3
return ushort

GetIsTarget() public abstract method

public abstract GetIsTarget ( IntVector3 p ) : bool
p IntVector3
return bool

GetValidDirs() public method

public GetValidDirs ( IntVector3 p ) : IEnumerable
p IntVector3
return IEnumerable

Property Details

m_env protected_oe property

protected IEnvironmentObject m_env
return IEnvironmentObject