<commit_before>/*
 * NicoW
 * 28.12.05
 */

#include "LoadMap.hpp"

LoadMap::LoadMap(GameManager& game, const std::vector<Map *> &)
  : AMenu("menu/Background2.png", "menu/Background2.png", 1600.0f, -1.0f, 3600.0f, game)
{
}

LoadMap::~LoadMap(void)
{
}

double		LoadMap::getCenterX(void) const
{
  return (2400.0f);
}

double		LoadMap::getCenterY(void) const
{
  return (4050.0f);
}

void		LoadMap::update(gdl::GameClock const& clock, gdl::Input& input)
{
  for (size_t i = 0; i < this->_keyEvent.size(); ++i)
    if (input.isKeyDown(this->_keyEvent[i].first))
      (this->*_keyEvent[i].second)(clock);
}<commit_msg>Maj Menu<commit_after>/*
 * NicoW
 * 28.12.05
 */

#include "LoadMap.hpp"

LoadMap::LoadMap(GameManager& game, const std::vector<Map *> & /* map */)
  : AMenu("menu/Background2.png", "menu/Background2.png", 1600.0f, -1.0f, 3600.0f, game)
{
  // std::vector<Map *>::const_iterator	it = map.begin();

  // for (; it != map.end ; ++it)
  //   {
  //     this->_tags.push_back(new Tag("menu/NewProfileNormal.png", "menu/NewProfileHighlit.png", true, false, TokenMenu::NEWPROFILE, 800.0f, 0.0f, 450.0f));
  //   }
}

LoadMap::~LoadMap(void)
{
}

double		LoadMap::getCenterX(void) const
{
  return (2400.0f);
}

double		LoadMap::getCenterY(void) const
{
  return (4050.0f);
}

void		LoadMap::update(gdl::GameClock const& clock, gdl::Input& input)
{
  for (size_t i = 0; i < this->_keyEvent.size(); ++i)
    if (input.isKeyDown(this->_keyEvent[i].first))
      (this->*_keyEvent[i].second)(clock);
}
{'fraction_non_alphanumeric': 0.20596026490066224, 'fraction_numerical': 0.04768211920529802, 'mean_word_length': 4.087542087542087, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '865594', 'n_tokens_mistral': 670, 'n_tokens_neox': 629, 'n_words': 103}