1 #ifndef GAME_BATTLES_BATTLE_HPP
2 #define GAME_BATTLES_BATTLE_HPP
36 static std::unique_ptr<Battle>
create(bl::engine::Engine& engine,
const std::string&
location,
Core classes and functionality for both the editor and game.
Convenience struct that owns all the components required for a battle and resolves some boilerplate s...
static std::unique_ptr< Battle > create(bl::engine::Engine &engine, const std::string &location, system::Player &player, Type type)
Creates the battle struct and initializes the player battler.
Type
Represents the different types of battles. Affects only the intro.
void setController(std::unique_ptr< BattleController > &&controller)
Sets and initializes the controller to use in battle.
std::unique_ptr< BattleController > controller
const std::string location
Stores and represents the current state of a battle. This is the base class for local and remote batt...
This is the top level class for rendering battles. It takes commands and state from a BattleControlle...
Represents the result of a battle.
Primary system for managing the player and their data.