public DefaultPlayerSpeedAttenuationContraintStateManager(PlayerSpeedAttenuationConstraintLayer playerSpeedAttenuationConstraintLayerRef) { PlayerSpeedAttenuationConstraintLayerRef = playerSpeedAttenuationConstraintLayerRef; this.AssociatedIObjectSpeedAttenuationConstraint = new NoneSpeedAttenuationConstraint(); }
public LowOnHealthPlayerSpeedAttenuationContraintStateManager(PlayerSpeedAttenuationConstraintLayer playerSpeedAttenuationConstraintLayerRef) { PlayerSpeedAttenuationConstraintLayerRef = playerSpeedAttenuationConstraintLayerRef; this.AssociatedIObjectSpeedAttenuationConstraint = new NotAboveSpeedAttenuationConstraint(AIMovementSpeedAttenuationFactor.WALK_INJURED); }
public PlayerSpeedAttenuationSystem() { this.PlayerSpeedAttenuationConstraintLayer = new PlayerSpeedAttenuationConstraintLayer(); this.PlayerSpeedAttenuationLayer = new PlayerSpeedAttenuationLayer(); }