C# Class GameFramework.AiPathData

显示文件 Open project: dreamanlan/CSharpGameFramework

Public Methods

Method Description
Clear ( ) : void
GetNearstPoint ( System.Vector3 pt, System.Vector3 &tp ) : bool
IsReached ( System.Vector3 curPos ) : bool
Restart ( ) : void
SetPathPoints ( System.Vector3 startPos, IList pts ) : void
SetPathPoints ( System.Vector3 startPos, IList pts, int start ) : void
SetPathPoints ( System.Vector3 startPos, IList pts, int start, int len ) : void
UseNextPathPoint ( ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

GetNearstPoint() public method

public GetNearstPoint ( System.Vector3 pt, System.Vector3 &tp ) : bool
pt System.Vector3
tp System.Vector3
return bool

IsReached() public method

public IsReached ( System.Vector3 curPos ) : bool
curPos System.Vector3
return bool

Restart() public method

public Restart ( ) : void
return void

SetPathPoints() public method

public SetPathPoints ( System.Vector3 startPos, IList pts ) : void
startPos System.Vector3
pts IList
return void

SetPathPoints() public method

public SetPathPoints ( System.Vector3 startPos, IList pts, int start ) : void
startPos System.Vector3
pts IList
start int
return void

SetPathPoints() public method

public SetPathPoints ( System.Vector3 startPos, IList pts, int start, int len ) : void
startPos System.Vector3
pts IList
start int
len int
return void

UseNextPathPoint() public method

public UseNextPathPoint ( ) : void
return void