C# Class fBaseXtensions.Navigation.Gridpoint.GPQuadrant

GridPoint Rectangle
Show file Open project: herbfunk/Funky Class Usage Examples

Public Properties

Property Type Description
AreaIsFlat bool
LastSafespotFound System.Vector3
OccupiedObjects List

Public Methods

Method Description
FindSafeSpot ( System.Vector3 CurrentLocation, System.Vector3 &safespot, System.Vector3 LoSCheckV3, PointCheckingFlags Flags, List BlacklistedPoints ) : bool

Searches through the contained GridPoints and preforms multiple tests to return a successful point for navigation.

GPQuadrant ( ) : System
GPQuadrant ( GridPoint points, System.Vector3 GPCenteringVector, GridPoint endpoint ) : System
UpdateWeight ( int &monstercount, int &avoidcount, List &UsedRAGUIDs, bool ResetIndex = false ) : double

Private Methods

Method Description
CheckPoint ( GridPoint point, System.Vector3 LoSCheckV3, PointCheckingFlags flags ) : bool

Method Details

FindSafeSpot() public method

Searches through the contained GridPoints and preforms multiple tests to return a successful point for navigation.
public FindSafeSpot ( System.Vector3 CurrentLocation, System.Vector3 &safespot, System.Vector3 LoSCheckV3, PointCheckingFlags Flags, List BlacklistedPoints ) : bool
CurrentLocation System.Vector3
safespot System.Vector3
LoSCheckV3 System.Vector3
Flags PointCheckingFlags
BlacklistedPoints List
return bool

GPQuadrant() public method

public GPQuadrant ( ) : System
return System

GPQuadrant() public method

public GPQuadrant ( GridPoint points, System.Vector3 GPCenteringVector, GridPoint endpoint ) : System
points GridPoint
GPCenteringVector System.Vector3
endpoint GridPoint
return System

UpdateWeight() public method

public UpdateWeight ( int &monstercount, int &avoidcount, List &UsedRAGUIDs, bool ResetIndex = false ) : double
monstercount int
avoidcount int
UsedRAGUIDs List
ResetIndex bool
return double

Property Details

AreaIsFlat public property

Logic: The average Z difference between all points is very *minimal
public bool AreaIsFlat
return bool

LastSafespotFound public property

public Vector3,System LastSafespotFound
return System.Vector3

OccupiedObjects public property

public List OccupiedObjects
return List