Get the first appearance of type T on actor. Throw an error if it can't be found.
T
actor
The actor whose appearances are being searched
The constructor of the appearance type to look for, such as AnimatedSprite
AnimatedSprite
The appearance
Get the first appearance of type
Tonactor. Throw an error if it can't be found.