applyUponSeeingBehaviour

final Unit applyUponSeeingBehaviour(GameEntity entity, GameEntity targetEntity, Integer seeingDepth, Function1<Behaviour, Behaviour> createSeeingBehaviour)

Applies UponSeeingBehaviour to entity.

Parameters

entity

The entity to apply the behaviour to.

targetEntity
seeingDepth
createSeeingBehaviour