Implementation of PlayerFrame and TargetFrame