34 #include "World/Map/Player.hpp"
35 #include "World/Map/Map.hpp"
46 #include "Pokemon/Pokemon.hpp"
47 #include "Pokemon/PokemonTeam.hpp"
48 #include "Battle/PlayerTrainer.hpp"
49 #include "Battle/PokemonFighter.hpp"
50 #include "Battle/PokemonFighterTeam.hpp"
51 #include "Battle/Battle.hpp"
80 , worldDrawingPolicy_ (nullptr)
81 , cameraController_ (context.GetCamera (
"World"))
86 , gameGuiManager_ (nullptr)
87 , gameWorldGuiManager_ (nullptr)
88 , mapRootWidget_ (nullptr)
90 , pokedexWidget_ (nullptr)
91 , pokemonTeamWidget_ (nullptr)
92 , trainerCardWidget_ (nullptr)
163 for (
int i = 1; i < 4; i++)
166 Create<yap::PokemonInfo> (
"PokemonInfo",
yap::ID (i));
174 Create<yap::PokemonInfo> (
"PokemonInfo",
yap::ID (16));
246 yap::StringHelper::ToString<int> (1.0f / dt.
GetValue ()));
261 switch (guiEvent.type)
263 case sf::Event::KeyPressed:
265 switch (guiEvent.key.code)
267 case sf::Keyboard::Space:
278 case sf::Keyboard::C:
292 case sf::Event::KeyReleased:
294 switch (guiEvent.key.code)
481 #if YAPOG_MOVE_PREDICTION
485 #endif // YAPOG_MOVE_PREDICTION
500 packet.
Write (force);
506 yap::GameInputType gameInputType,
512 packet.
Write (static_cast<yap::Int16> (gameInputType));
513 packet.
Write (state);