(c21615b5b) More optimizations.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:48:09 +03:00
parent 480bba392c
commit ed49bea3ef
13 changed files with 176 additions and 254 deletions
@@ -37,24 +37,6 @@ namespace Barotrauma
get { return objectiveManager; }
}
private bool shouldCrouch;
private float crouchRaycastTimer;
const float CrouchRaycastInterval = 1.0f;
public const float HULL_SAFETY_THRESHOLD = 50;
public HashSet<Hull> UnsafeHulls { get; private set; } = new HashSet<Hull>();
private SteeringManager outsideSteering, insideSteering;
public IndoorsSteeringManager PathSteering => insideSteering as IndoorsSteeringManager;
public HumanoidAnimController AnimController => Character.AnimController as HumanoidAnimController;
public override AIObjectiveManager ObjectiveManager
{
get { return objectiveManager; }
}
public Order CurrentOrder
{
get;