public void actionPerformed(ActionEvent e) {
setPlayerMode(switchPlayerMode.isSelected());
}
});
animationBehavior = new IPlayerAnimationBehavior() {
@Override
public String generateAnimation(IPlayer player, String targetDirectory) {
generateBounds();
return targetDirectory;