Get the first Behavior of type T on actor, and fail if it doesn't have one. When the actor might not have one, use findBehavior instead.
T
actor
findBehavior
The actor whose behaviors are being searched
The constructor of the Behavior type to look for
The Behavior
Get the first Behavior of type
Tonactor, and fail if it doesn't have one. When the actor might not have one, usefindBehaviorinstead.