applyParameters variant for ActorMovementController
This commit is contained in:
parent
8eb1db919f
commit
06a202bf17
@ -192,7 +192,12 @@ class ActorMovementController() : MovementController() {
|
||||
|
||||
fun resetBaseParameters(base: ActorMovementParameters) {
|
||||
actorMovementParameters = Globals.actorMovementParameters.merge(base)
|
||||
movementParameters = calculateMovementParameters(actorMovementParameters)
|
||||
updateParameters(calculateMovementParameters(actorMovementParameters))
|
||||
}
|
||||
|
||||
fun applyParameters(parameters: ActorMovementParameters) {
|
||||
actorMovementParameters = actorMovementParameters.merge(parameters)
|
||||
updateParameters(calculateMovementParameters(actorMovementParameters))
|
||||
}
|
||||
|
||||
fun clearControls() {
|
||||
|
Loading…
Reference in New Issue
Block a user