C# Class Drought.Entity.Path

Show file Open project: kiniry-teaching/UCD Class Usage Examples

Public Methods

Method Description
Path ( List nodes ) : System
addDistance ( float distance ) : bool
getLength ( ) : float
getPosition ( ) : Vector3
getRemainingPath ( ) : List
isFinished ( ) : bool

Private Methods

Method Description
initialise ( ) : void

Method Details

Path() public method

public Path ( List nodes ) : System
nodes List
return System

addDistance() public method

public addDistance ( float distance ) : bool
distance float
return bool

getLength() public method

public getLength ( ) : float
return float

getPosition() public method

public getPosition ( ) : Vector3
return Vector3

getRemainingPath() public method

public getRemainingPath ( ) : List
return List

isFinished() public method

public isFinished ( ) : bool
return bool