public function getAchievementByName($achievementName)
    {
        /** @var Achievement $achievement */
        foreach ($this->getAchievements() as $achievement) {
            if ($achievement->getName() == $achievementName) {
                return $achievement;
            }
        }

        return null;
    }