applyBurningBehaviour

final Unit applyBurningBehaviour(GameEntity entity, Long attackPeriodMillis, Integer attack, Long durationMillis)

Applies expiring BurningBehaviour to entity.

Parameters

entity

The entity to apply the behaviour to.

attackPeriodMillis

BurningBehaviour parameter.

attack

BurningBehaviour parameter.

durationMillis

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