Class StuckTracker
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class StuckTracker : AIModule
- Inheritance
-
StuckTracker
- Inherited Members
-
Constructors
StuckTracker(ArtificialIntelligence, bool, bool)
public StuckTracker(ArtificialIntelligence AI, bool trackPastPositions, bool trackNotFollowingCurrentGoal)
Parameters
AI ArtificialIntelligence
trackPastPositions bool
trackNotFollowingCurrentGoal bool
Fields
calculateGetUnstuckPosition
public bool calculateGetUnstuckPosition
Field Value
- bool
checkPastPositionsFrom
public int checkPastPositionsFrom
Field Value
- int
closeToGoalButNotSeeingItTracker
public StuckTracker.CloseToGoalButNotSeeingItTracker closeToGoalButNotSeeingItTracker
Field Value
- StuckTracker.CloseToGoalButNotSeeingItTracker
getUnstuckPosCalculator
public StuckTracker.GetUnstuckPosCalculator getUnstuckPosCalculator
Field Value
- StuckTracker.GetUnstuckPosCalculator
goalSatisfactionDistance
public int goalSatisfactionDistance
Field Value
- int
maxStuckCounter
public int maxStuckCounter
Field Value
- int
minStuckCounter
public int minStuckCounter
Field Value
- int
moveBacklog
public StuckTracker.MoveBacklog moveBacklog
Field Value
- StuckTracker.MoveBacklog
notFollowingCurrentGoalMax
public int notFollowingCurrentGoalMax
Field Value
- int
notFollowingPathToCurrentGoalCounter
public int notFollowingPathToCurrentGoalCounter
Field Value
- int
pastPosStuckDistance
public int pastPosStuckDistance
Field Value
- int
pastPositions
public List<IntVector2> pastPositions
Field Value
- List<IntVector2>
pastStuckPositionsCloseToIncrementStuckCounter
public int pastStuckPositionsCloseToIncrementStuckCounter
Field Value
- int
satisfiedWithThisPosition
public bool satisfiedWithThisPosition
Field Value
- bool
stuckCloseToShortcutModule
public StuckTracker.StuckCloseToShortcutModule stuckCloseToShortcutModule
Field Value
- StuckTracker.StuckCloseToShortcutModule
stuckCounter
Field Value
- int
subModules
public List<StuckTracker.StuckTrackerModule> subModules
Field Value
- List<StuckTracker.StuckTrackerModule>
totalTrackedLastPositions
public int totalTrackedLastPositions
Field Value
- int
trackNotFollowingCurrentGoal
public bool trackNotFollowingCurrentGoal
Field Value
- bool
trackPastPositions
public bool trackPastPositions
Field Value
- bool
Methods
AddSubModule(StuckTrackerModule)
public void AddSubModule(StuckTracker.StuckTrackerModule newModule)
Parameters
newModule StuckTracker.StuckTrackerModule
NewRoom(Room)
public override void NewRoom(Room room)
Parameters
room Room
Reset()
Update()
public override void Update()
Utility()
public override float Utility()
Returns
- float