C# Class game.AStarPathfinding.Path

Show file Open project: balaam/tiny_rogue

Public Properties

Property Type Description
Parent game.Path
distanceFromStart int
distanceToDestination int
location int2
totalPath int

Public Methods

Method Description
stepFrom ( int2 currentLocation ) : game.Path
toSavedPath ( ) : game.SavedPath

Method Details

stepFrom() public method

public stepFrom ( int2 currentLocation ) : game.Path
currentLocation int2
return game.Path

toSavedPath() public method

public toSavedPath ( ) : game.SavedPath
return game.SavedPath

Property Details

Parent public property

public Path,game Parent
return game.Path

distanceFromStart public property

public int distanceFromStart
return int

distanceToDestination public property

public int distanceToDestination
return int

location public property

public int2 location
return int2

totalPath public property

public int totalPath
return int