Added HeartBeatController class to animate enemy hearts.