@Override
	public void processEvent(GameEvent event) {
		switch (event.type) {
			case StartGame:
				userData.put(event.userId, new UserData(event.timestamp, event.experience));
				break;
			case Experience:
				userData.get(event.userId).increaseExperience(event.experience);
				break;
			case FinishGame:
				int aggregatedExperience = userData.get(event.userId).getExperience();
				experienceDao.addExperienceRecord(new StatisticDto(event.userId, event.timestamp, aggregatedExperience));
				userData.remove(event.userId);
				break;
		}
	}