apply Upon Seeing Behaviour
final Unit applyUponSeeingBehaviour(GameEntity entity, GameEntity targetEntity, Integer seeingDepth, Function1<Behaviour, Behaviour> createSeeingBehaviour)
Content copied to clipboard
Applies UponSeeingBehaviour to entity.
Parameters
entity
The entity to apply the behaviour to.
target Entity
UponSeeingBehaviour parameter.
seeing Depth
UponSeeingBehaviour parameter.
create Seeing Behaviour
UponSeeingBehaviour parameter.