applyFrozenBehaviour

final Unit applyFrozenBehaviour(GameEntity entity, Double slowDownCoefficient, Long durationMillis)

Applies expiring FrozenBehaviour to entity.

Parameters

entity

The entity to apply the behaviour to.

slowDownCoefficient

FrozenBehaviour parameter.

durationMillis

The duration for which FrozenBehaviour should last. If null, the new behaviour is permanent.